By increasing the pressure gases can be converted to liquid, as particles come closer to each other on increasing the pressure. By decreasing the pressure, the solids can be converted to gases, as the particles are far apart on decreasing the pressure.