Air pressure can change from place to place, and this causes air to move, flowing from areas of high pressure toward areas of low pressure.
Because air naturally flows from areas of high pressure to low pressure, pressure differences over an area (pressure gradient) causes air flow or wind. Air pressure is the main cause of localized and planetary scale wind.