Chemiosmotic coupling is the process that links the flow of ions across a membrane to the synthesis of ATP, a key energy currency in cells. This process occurs primarily in mitochondria during cellular respiration, where a proton gradient is established, allowing protons to flow back into the mitochondrial matrix and drive the conversion of ADP and inorganic phosphate into ATP through ATP synthase.