A headspace vial is used in the process of top – gas chromatography. When detecting volatile or semi-volatile mixtures with high boiling points, we need to heat them to vaporize them at the top. In this process, since the liquid samples are at the bottom, the material in the top gas can be measured without touching the liquid in the sample vial.