For the analysis of volatile compounds, a purge and trap (P&T) concentrator system may be used to introduce samples. The target analytes are extracted by mixing the sample with water and purge with inert gas (e.g. Nitrogen gas) into an airtight chamber, this is known as purging or sparging. The volatile compounds move into the headspace above the water and are drawn along a pressure gradient (caused by the introduction of the purge gas) out of the chamber. The volatile compounds are drawn along a heated line onto a trap. The trap is a column of adsorbent material at ambient temperature that holds the compounds by returning them to the liquid phase. The trap is then heated and the sample compounds are introduced to the GC–MS column via a volatiles interface, which is a split inlet system. P&T GC–MS is particularly suited to volatile organic compounds (VOCs) and BTEX compounds (aromatic compounds associated with petroleum).
A faster alternative is the "purge-closed loop" system. In this system the inert gas is bubbled through the water until the concentrations of organic compounds in the vapor phase are at equilibrium with concentrations in the aqueous phase. The gas phase is then analysed directly.