Answer by
DavidS (1517)
A windmill creates electricity by the use of a generator/alternator. The wind turns the fins on the windmill which in turn rotates a vertical shaft that is connected to a generator. There are typically gears between the windmill shaft and the generator shaft. This is to increase the speed of the generator.