The pentose phosphate pathway, present in all organisms, generates NADPH and ribose 5-phosphate in the cytoplasm. NADPH is used in reductive biosyntheses, whereas ribose 5-phosphate is used in the synthesis of RNA, DNA, and nucleotide coenzymes. The pentose phosphate pathway starts with the dehydrogenation of glucose 6-phosphate to form a lactone, which is hydrolyzed to give 6-phosphogluconate and then oxidatively decarboxylated to yield ribulose 5-phosphate. NADP+ is the electron acceptor in both of these oxidations. Ribulose 5-phosphate (a ketose) is subsequently isomerized to ribose 5-phosphate (an aldose). A different mode of the pathway is active when cells need much more NADPH than ribose 5-phosphate. Under these conditions, ribose 5-phosphate is converted into glyceraldehyde 3-phosphate and fructose 6-phosphate by transketolase and transaldolase. These two enzymes create a reversible link between the pentose phosphate pathway and gluconeogenesis. Xylulose 5-phosphate, sedoheptulose 7-phosphate, and erythrose 4-phosphate are intermediates in these interconversions. In this way, 12 molecules of NADPH can be generated for each molecule of glucose 6-phosphate that is completely oxidized to CO2.