Condensation is the process in which a gas or vapor turns into a liquid when it cools down. It occurs when warm air containing water vapor comes into contact with a cooler surface, causing the water vapor to change into liquid droplets. This process is commonly seen on windows when warm indoor air meets the cooler glass surface.