Cellular respiration is the process by which cells generate energy (ATP) from food and oxygen. It occurs in the mitochondria of plant and animal cells through three main stages: glycolysis, the Krebs cycle, and the electron transport chain. Glycolysis breaks down glucose in the cytoplasm, the Krebs cycle further breaks down the products in the mitochondria, and the electron transport chain uses the Krebs cycle products to generate ATP through oxidative phosphorylation using oxygen as the final electron acceptor. Cellular respiration is essential for all living organisms to produce energy and is the opposite of photosynthesis.