Hot air is lighter than cold air. The reason fr this is when air gets heated up it expands and becomes less dense than the air surrounding it also the distance between the molecules increases. So the less dense air floats in the much denser air just like ice floats on water as ice is less dense than water. A similar example of wood floating on water can also be taken in to account. Wood is solid and less dense hence, it floats on water.