Home A voltage is applied and the gas atoms in the tube light up. The color of the light reveals which gas it is.