The light reactions of photosynthesis.
Light is absorbed and the energy is used to drive electrons from water to generate NADPH and to drive protons across a membrane. These protons return through ATP synthase (purple structure) to make ATP.