Dear Student,
A wind turbine is in many ways the opposite of a fan. Instead of providing the electricity to get the fan to rotate, wind rotates the turbine to generate electricity.
The rotor blades on a wind turbine catch the kinetic energy in the wind and transfer it via a rotor shaft to the generator. The wing blades can be rotated and adjusted to the wind direction and strength, for maximum utilization of energy.
When the rotor spins, the power is transferred via the drive shaft and gearbox. Then, the generator converts the kinetic energy from the turbine into electrical energy. The electricity is sent to the substation, where it is converted and then transported out on the net.
Regards