1. Air pressure is caused by the weight of air above exerting pressure in all directions, and differences in air pressure cause wind as air moves from high to low pressure areas.
2. Global wind patterns are caused by uneven heating of the Earth's surface by the sun, which causes large scale rising and sinking of air and the formation of circulation cells.
3. Local winds like sea breezes and valley winds are caused by smaller scale differences in air pressure caused by uneven heating of land and water areas.