Where do electrons get their energy in the light reactions?

Where do electrons get their energy in the light reactions?