Glycolysis is the metabolic pathway that converts glucose into pyruvate, generating a small amount of ATP. It occurs in the cytosol of cells and is the first step in both aerobic and anaerobic respiration. The key steps are the phosphorylation of glucose to trap it in cells, and the splitting of a six-carbon molecule into two three-carbon molecules. Under anaerobic conditions, glycolysis produces 2 ATP and pyruvate is reduced to lactate. Aerobically, glycolysis produces 8 ATP as NADH enters the electron transport chain. Glycolysis is regulated by hexokinase, phosphofructokinase, and pyruvate kinase.