When light chlorophyll molecules of ps ii they lose electrons, which are ultimately replaced by splitting water
The light absorbed by chlorophyll cause a transfer of electrons and H+ from water molecule which are already present. This cause the water molecules to split into molecular oxygen and H+ ion. The lost electron are ultimately replaced by other electron obtained by splitting water.