The electron transport chain occurs in the inner mitochondrial membrane and involves a series of protein complexes that pass high-energy electrons from electron carriers like NADH and FADH2 generated during glycolysis and the Krebs cycle. As electrons are passed along the chain, hydrogen ions are pumped from the mitochondrial matrix to the intermembrane space, creating an electrochemical gradient. When hydrogen ions diffuse back through ATP synthase, their movement is coupled to ATP production from ADP and inorganic phosphate. This process is called chemiosmosis and generates most of the ATP during cellular respiration. Overall, the complete breakdown of one glucose molecule yields approximately 36 ATP through glycolysis and the electron transport chain.