An optical element comprises: an electromotive force-generating element
that generates an electromotive force in response to electromagnetic
wave; and an optical density-changing element that changes its optical
density according to the electromotive force, the optical
density-changing element comprising: at least one of metal sulfide and
metal nitride; and a material that causes a change of the optical density
and adsorbs to said at least one of metal sulfide and metal nitride.