The pentose phosphate pathway is an alternate branch off of glycolysis that occurs in the cytosol and does not produce or use ATP. It aims to generate the electron carrier NADPH and synthesize sugars that make up DNA and RNA. NADPH acts as an electron donor in biosynthesis and antioxidant processes like photosynthesis. The pathway has an oxidative phase involving two irreversible oxidation steps that generate ribulose-5-phosphate from glucose-6-phosphate. It also has a non-oxidative phase of reversible steps that synthesizes the sugars used in nucleotides.