River water piped through dams rushes past turbines in hydroelectric plants to create electricity. Which metabolic process relates to this analogy?