The hot air near the earth's surface is at a higher temperature so it gets lightweight and rises up and the cold air which has more weight comes down to take the space of the hot air.
Hot air goes up in the atmosphere and the cold air comes down to the surface.