Electron transport in photosynthesis produces a proton gradient. The gradient develops inside the thylakoid lumen in chloroplasts. Proton pump is energised by electron flow. It creates a proton gradient or high concentration of $H^{+}$ in the lumen. The proton gradient is broken down due to movement of protons through transmembrane channels, $F_{0}$ of $ATP$ase. The break down of the gradient provides enough energy to cause a conformational change in the $F_{1}$ particle of the $ATP$ase, which makes the enzyme synthesise several molecules of energy-packed $ATP$.