Explain how. during light reaction of photosynthesis

Explain how. during light reaction of photosynthesis, ATP synthesis as a chemiosmotic phenomenon takes place?

Chemiosmosis requires a membrane, a proton pump, a proton gradient and ATPase. Energy is used to pump protons across a membrane, to create a gradient or a high concentration of protons within the thylakoid lumen. ATPase enzyme catalyses the formation of ATP, along with the NADPH produced by.the movement of electrons, the ATP will be used immediately in the biosynthetic ’ reaction taking place in the stroma, responsible for fixing ${ CO }_{ 2 }$and synthesis of sugars.