As electrons pass along the electron transport chain (ETC),
protons are pumped from the stroma
into the thylakoid space, forming a H+ gradient.
The protons diffuse back to the stroma by chemiosmosis, and powers the ATP synthase to make ATP.
These light reactions store chemical energy in NADPH and ATP, which are used in the Calvin cycle.