3. What are the biological functions of the pentose phosphate pathway? (4%)