ATP synthesis in the light reaction is linked to the development of a proton gradient and breaking down the gradient by chemiosmosis.
Accumulation of protons occurs in the lumen of thylakoids protons return through the ATP synthase complex and catalyze the formation of ATP.
This process is called photophosphorylation.
The light energy absorbed by chlorophyll in the form of photons is used to generate high-energy electrons.
These electrons are used to produce NADPH and generate a proton-motive force through the action of the electron-transport chain.
Protons or hydrogen ions that are produced by the splitting of water associated with the PSII also accumulate within the lumen of the thylakoids and contribute to the proton accumulation in the lumen.