The warm air rises, because it has become less dense as a result of increase in temperature from heating. Since it is heated, it expands and becomes less dense and such it rises.
The cold air, as result of decrease in temperature contracts, and becomes denser. The cold air is denser than the warm air. The cold air, being the denser sinks. So the cold air sinks because it is denser and heavier than warm air.