Condensation is the process by which a substance changes its phase from a gaseous state to a liquid state. This typically occurs when the vapor is cooled or comes into contact with a cooler surface, losing energy and forming liquid droplets. It is the reverse process of vaporization or boiling, which converts liquid into gas.
The correct option is (D): gas to liquid