Describe the oxidative and non-oxidative phases of the pentose phosphate pathway and distinguish between these branches in terms of their roles in producing NADPH for biosynthesis reactions or 5-carbon sugar for nucleic acid synthesis. Identify the regulator of the oxidative branch.