what is the source of electrons during photosynthesis