In GC, a sample is vaporized and carried by an inert gas (usually helium or nitrogen) through a column coated with a stationary phase. Different components in the sample interact differently with the stationary phase and are separated based on their varying affinities and boiling points. The separated components are then detected and quantified by a detector.