Chemiosmotic theory of ATP synthesis in the chloroplasts and mitochondria is based on
Proton gradient
Protons move from an area of high concentration to an area of low concentration across a membrane.
The kinetic energy created by this movement is used by ATP synthase to create ATP molecules.