Cellular respiration involves three main stages - glycolysis, the citric acid cycle, and oxidative phosphorylation - to harvest chemical energy from glucose and produce ATP. Glycolysis breaks down glucose into pyruvate and generates some ATP. The citric acid cycle further oxidizes pyruvate and generates more ATP and electron carriers. During oxidative phosphorylation, electrons are passed through an electron transport chain which establishes a proton gradient used by ATP synthase to produce most of the cell's ATP.