The electron transport chain and ATP synthase are embedded in the inner mitochondrial membrane.The electrons flow through the electron transport chain, causing protons to be pumped from the matrix to the intermembrane space. Eventually, the electrons are passed to oxygen, which combines with protons to form water.