Like a giant pinwheel, the rotor of a wind turbine will spin when triggered by a strong-enough wind.
Wind turbines operate on a simple principle. The energy in the wind turns two or three or more propeller-like blades around a rotor. The rotor is connected to the main shaft, which leads into the nacelle behind the blades and activates a generator.
The generator creates electricity, which goes to a transformer that converts it to the right voltage for the electricity grid.