The atoms and molecules that make up the various layers in the atmosphere are constantly moving in random directions. Despite their tiny size, when they strike a surface they exert a force on that surface in what we observe as pressure. Air pressure has a proportional relationship with gravity. With increasing altitude, the air pressure decreases as gravity effect of earth reduces. On the other hand, the pressure increases with increasing depth of the ocean.The movement of air is mainly caused due to the differences in pressure and temperature. Warm air is lighter and it rises upwards, meanwhile, cold air is denser and hence it moves down to replace the warm air. This phenomenon creates wind. The air around you has weight, and it presses against everything it touches. That pressure is called atmospheric pressure, or air pressure. It is the force exerted on a surface by the air above it as gravity pulls it to Earth. As gravity hugs the blanket of air to the Earth's surface, what physicists call a density gradient is set up in the air. The air near the ground is pulled on by gravity and compressed by the air higher in the sky. This causes the air near the ground to be denser and at a greater pressure than air at higher elevations.
Atmospheric pressure is caused by the weight of the atmosphere pressing down on the Earth's surface, and it affects the movement of air and weather patterns. The force of gravity plays a significant role in determining the distribution of atmospheric pressure across the Earth's surface
The air around you has weight, and it presses against everything it touches. That pressure is called atmospheric pressure, or air pressure. It is the force exerted on a surface by the air above it as gravity pulls it to Earth. Air pressure has a proportional relationship with gravity. With increasing altitude, the air pressure decreases as gravity effect of earth reduces. On the other hand, the pressure increases with increasing depth of the ocean. More molecules mean more collisions, which leads to a higher air pressure. Similarly, heavier gases or gases moving at higher speeds will cause a higher impact force, also increasing the atmospheric pressure. Air at sea level is being compressed by all of the air above it, weighing it down and increasing its density. The sun's radiation heats up the land, sea and air. The land and water bodies also heat up the air, making it less dense. Here, hot air increases and creates low pressure over that area and cold air sinks and creates a region of high pressure. Air, like all fluids, likes to maintain equal pressure. Air that moves horizontally between high and low pressure zones makes wind. The greater the pressure difference between the pressure zones the faster the wind moves. Convection in the atmosphere creates the planet's weather. Differences in air pressure can result in the movement of air masses from one location to another. Air masses tend to flow from areas of high air pressure to areas of low air pressure. Thus, winds blow away from high-pressure areas; wind blows towards low-pressure areas. Air masses also move vertically. Pressure is directly related to air density, and air density is most commonly affected by changes in temperature, humidity, and rising or sinking air.