Oxidative phosphorylation uses the energy of oxidation-reduction of a substrate to generate ATP. Oxidative phosphorylation is made up of two closely connected components: the electron transport chain and chemiosmosis. In the electron transport chain, electrons are passed from one molecule to another, and energy released in these electron transfers is used to form an electrochemical gradient. In chemiosmosis, the energy stored in the gradient is used to make ATP.