as the temperature goes down most gases first condenses into liquid. if the temperature is further lowered down , the liquid freezes into solid state. so condensation and freezing are the two process most gases went through as their temperature is lowered down. so first gas turns into liquid and from liquid into the solid.