GC has columns that can separate the gases based on their molecular weights, or their interaction with the column material. You need some kind of detector (mass spectrometer or FID) to quantify these gases. The GC column separates these gases which are then passed through the detector to measure the concentration.