Condensation is when a