Cellular respiration is a redox reaction that breaks down glucose and other substrates to capture energy in the form of ATP. It has four phases: glycolysis, the preparatory reaction, the citric acid cycle, and the electron transport chain. These phases occur both in the cytoplasm and in the mitochondria, and involve the oxidation of substrates and production of NADH and FADH2 to carry electrons through the electron transport chain. This establishes a proton gradient that drives ATP synthase to produce ATP through chemiosmosis. The process fully oxidizes one glucose molecule into 6 CO2, 6 H2O, and produces up to 36-38 ATP.