Air is made up of molecules of different gases such as nitrogen and oxygen in constant, random motion.
The molecules exert pressure whenever they hit a surface, but there aren’t many surfaces in the air for them to hit, except each other. Air pressure is the result of colliding molecules.
The frequency of molecular collisions determines the level of pressure: high pressure or low pressure. Rising pressure generally means fair weather. Falling air pressure signals the likelihood of storms.