Gas chromatography operates by injecting a gaseous or volatile sample into a stream of inert carrier gas, such as helium or nitrogen. The sample is then transported through a column containing a stationary phase. Different components in the sample interact differently with the stationary phase, causing them to elute at different times. A detector at the end of the column measures the components as they elute, creating a chromatogram.