1. Condensation: The gas cools down, causing the particles to slow down and come closer together. This forms a liquid.
2. Freezing: The liquid continues to cool, causing the particles to slow down even further and arrange themselves into a more ordered, rigid structure. This forms a solid.
Example: Water vapor in the air can condense into liquid water droplets on a cold surface. These droplets can then freeze into ice.
This process is called deposition and is the opposite of sublimation, where a solid directly changes into a gas.