In modern practice, water flowing from a higher level to a lower level (as from a dam or waterfall) is used to activate a turbine that drives an electric generator, a process called hydroelectric power generation.