Air pressure decreases with increasing altitude and is affected by temperature, humidity, and elevation. It is measured using a barometer. Differences in air pressure cause winds to move from high to low pressure areas. Global wind patterns like trade winds and jet streams curve due to the Coriolis effect. Local winds are influenced by geographic features and temperature variations between land and bodies of water. Changes in weather occur when different air masses characterized by their temperature and moisture content meet at fronts like cold fronts and warm fronts, which can lead to thunderstorm formation.