Answer: During electron transport, energy is used to pump hydrogen ions across the mitochondrial inner membrane, from the matrix into the intermembrane space. A chemiosmotic gradient causes hydrogen ions to flow back across the mitochondrial membrane into the matrix, through ATP synthase, producing ATP.