More specifically, chemiosmosis is the diffusion of hydrogen ions (protons) across the biological membrane via the ATP synthase (a transport protein) due to a proton gradient that forms on the other side of the membrane.