The pentose pathway is a shunt that begins with the glycolytic intermediate glucose 6 - P and reconnects with glycolysis because two of the end products of the pentose pathway are glyceraldehyde 3 - P and fructose 6 - P.
The pathway yields ribose 5 - phosphate which is used in nucleotide biosynthesis leading to DNA, RNA, and various cofactors (CoA, FAD, SAM, NAD+/NADP+).
NADPH + H+ is formed from two separate reactions: the glucose 6-phosphate DH (G6PD) reaction, which is the rate limiting step and is essentially irreversible, and the transketolase reaction.
In tissues with active lipid biosynthesis such as liver, adrenal cortex, or lactating mammary glands, NADPH is used in redox reactions required for biosynthesis of cholesterol, bile salts, steroid hormones and triglycerides.
The non-oxidative phase of the pentose phosphate pathway is used for the synthesis of ribose-5-phosphate for DNA/RNA building, also produced in the oxidative phase.