The primary source of wind energy is the sun. Solar radiation unevenly heats the Earth's surface, causing differences in air pressure. Wind is essentially the movement of air from high-pressure to low-pressure areas. Factors like the Earth's rotation and terrain variations also influence wind patterns and strengths.