Biochemistry

Which of the following represents the primary function of the pentose phosphate pathway in erythrocytes?