The molecules in warm air are more expanded, move more rapidly and take up more room than in cold air. The expansion and movement of molecules makes it less dense, thus it rises above the cold air. Cold air molecules are more compressed, making them more still and packed together, thus making it more dense than warm air.