Condensation is the change of a gas or vapor to a liquid, either by cooling or by being subjected to increased pressure.