Wind energy is generated by converting wind currents into other forms of energy using wind turbines. Winds are generated by complex mechanisms involving the rotation of the Earth, the heat capacity of the sun, the cooling effect of the oceans and polar ice caps, temperature gradients between land and sea, and the physical effects of mountains and other obstacles.