Hydroelectric generators are machines that convert the kinetic energy of flowing water into electrical energy. They are a key component in hydroelectric power plants, which generate electricity by harnessing the power of water resources, such as rivers, dams, and waterfalls.