Answer: During the light-dependent stage (“light” reactions), chlorophyll absorbs light energy, which excites some electrons in the pigment molecules to higher energy levels; these leave the chlorophyll and pass along a series of molecules, generating formation of NADPH (an enzyme) and high-energy ATP molecules.
But in simple words, the energy of sunlight is used to oxidize water.