The present invention provides a dye sensitized solar cell comprising an
n-type semiconductor electrode containing a dye, an opposed electrode,
and a gel electrolyte arranged between the n-type semiconductor and the
opposed electrode and containing a gelling agent and an electrolyte that
contains iodine, wherein the gelling agent contains a compound including
an N-containing group and at least one atomic group selected from a group
consisting of a sulfonic group and a carboxylic group.