When a gas is cooled, the opposite happens. This is called condensation. You will likely have seen beads of condensation on the outside of a cold drink. This happens because the water vapour in the air (a gas) has been cooled by coming into contact with the container of the drink, changing its state to a liquid.