Enzyme ATP synthase produces ATP by the process of chemiosmosis.
ATP synthase leads to ATP synthesis with proton gradient developed across the inner mitochondrial membrane during cellular respiration as well as across the thylakoid membrane during photosynthesis.
ATP synthase is structurally F-ATPases which is made up of two subunits F0 and F1.