These protons, as well as additional protons pumped across the thylakoid membrane coupled with the electron transfer chain, form a proton gradient across the membrane that drives photophosphorylation and thus the generation of chemical energy in the form of adenosine triphosphate (ATP).