Which of the following best describes the main purpose of the combined processes of glycolysis and cellular respiration?