Traditionally, the energy of flowing water has been used for rotating the water-wheels and for driving water-mills to grind wheat to make flour. The traditional use of energy of flowing water has been modified by improvements in technology and it is now used to generate electricity.