Question: what is the relationship between air pressure and air masses?
Answer: Pressure varies with altitude, with denser air residing in lower altitudes and lighter air in higher altitudes. This is caused by the Earth's gravity—its strength decreases the farther away from the center of the planet, therefore it holds fewer molecules together in the same amount of space.