There are numerous impurities that freeze at low temperatures that are found in raw gas. Since these would block the cryogenic section of the plant, the gas must be purified before it can be liquified.