The generation of light by the application of an current to a semiconductor or phosphor, or by an electric discharge through a gas.