protons pumped across the thylakoid membrane from the stroma during electron transport make the interior of the thylakoid more acidic than the stroma. driven by this pH difference,the protron diffuse
back to the stroma through ATP synthase channels,which couple the energy of protron diffusion to the formation of ATP from ADP+Pi