Cold and warm air masses create pressure systems and fronts. Cold air (blue) is denser and sinks, warm air (red) is lighter and rises. Precipitation occurs at frontal boundaries.