Here's why:
* Heat and Molecular Motion: Heat is a form of energy that increases the motion of molecules. Warmer air has molecules that are moving faster and further apart.
* Density: Colder air has molecules that are closer together and moving slower, making it denser. Warm air, with its faster-moving, more spread-out molecules, is less dense.
* Buoyancy: Less dense objects (like warm air) tend to float on denser objects (like cold air). This is the same principle that makes a hot air balloon rise.
So, because of the difference in density, warm air rises and cold air sinks, leading to phenomena like convection currents and weather patterns.