Windmills have been used for many years to obtain energy and improve people's lives. From creating devices to make flour, to different types of energy harnessing to move devices, and even to obtain electrical energy.
The operation of windmills is quite simple, it is based on blades that are moved by the speed of the wind. This shock generates a rotary motion, which moves a crankshaft, which moves parts that can be wheels to grind flour, or to generate the movement of an alternator that generates electricity, this will depend on the use that is given to the windmill.
In this video, we can see how windmills work: