Which of the following describes the primary function of the turbine section in a gas turbine engine?