Ionization detectors use a flame or bright light to charge the molecules of a compound. The resulting ions create a current in the instrument, and the strength of the current is used to determine the concentration of a particular compound.