A functional device comprising a semiconductor material, wherein the
functional device contains a compound not substantially undergoing
oxidation-reduction reaction but having at least one lone electron pair
and in which adding the compound negatively changes a flat band potential
of the semiconductor material with respect to a case not adding it.