The Krebs cycle, also known as the citric acid cycle or tricarboxylic acid cycle, is a series of chemical reactions in the mitochondria that break down acetyl groups from carbohydrates, fats, and proteins into carbon dioxide, generating reduced coenzymes that are used to produce ATP. The cycle includes both catabolic reactions that generate energy and anabolic reactions that produce precursors for biosynthesis. Anaplerosis and cataplerosis refer to reactions that replenish or remove intermediates from the Krebs cycle.