You’ve seen them in images and videos from around the world..but how do these massive wind turbines actually generate electricity? The principle is the same as the wind mills of old , except that the windmills used the energy to crush corn or move water for irrigation.