Condensation happens when a gas cools and turns into a liquid. This happens, for example, on the side of a drink that has just been brought from the fridge.