How do winds form?

Winds form because air moves from an area of high pressure to an area of low pressure!

Winds form when cool, more dense air rises and becomes warmer, less dense air. With this, the warm air lowers and again becomes cool air. This cycle continues.
Wind is caused by differences in pressure. When a difference in pressure exists, the air is accelerated from higher to

lower pressure. On a rotating planet, the air will be deflected by the Coriolis effect, except exactly on the equator.

Globally, the two major driving factors of large-scale winds (the atmospheric circulation) are the differential heating

between the equator and the poles (difference in absorption of solar energy leading to buoyancy forces) and the