How does Wind Generate Electricity?

The wind turns the blades of a fan which are attached to a turbine usually through some type of gearing. As the turbine spins it generates electricity just like any other generator does through an electromagnetic affect.