At ordinary temperatures, most atmospheric gases (such as nitrogen and oxygen) are far above their boiling points, so they exist as gases. To liquefy them, we must remove enough heat to bring them below their boiling points. Two ideas work together:
1. Cooling (lowering the temperature). If a gas is cooled sufficiently, its particles lose kinetic energy, move more slowly, and come closer together. Eventually the attractive forces between particles can hold them together as a liquid. For example, nitrogen boils at about \(-196\,^{\circ}\mathrm{C}\) and oxygen at about \(-183\,^{\circ}\mathrm{C}\) at normal pressure, so they must be cooled below these temperatures to become liquid.
2. Compression (increasing the pressure). Gases can also be liquefied by applying high pressure. Compressing a gas brings its particles closer together, which helps the attractive forces act and makes liquefaction easier. Applying pressure alone is often not enough for gases like nitrogen and oxygen at room temperature, so cooling and compression are used together.
Method: Atmospheric gases are liquefied by repeated compression and expansion with cooling. The gas is compressed to a high pressure and then allowed to expand suddenly. Expansion causes the gas to cool (this is called the Joule–Thomson effect). This cooled gas is used to cool the incoming compressed gas, and the process is repeated. By repeating compression and expansion, the temperature falls lower and lower until the gas condenses into a liquid. This is the principle used in the liquefaction of air.
In short: atmospheric gases are liquefied by cooling them below their boiling points while compressing them to high pressure, using repeated compression and expansion.