The bright lines seen against a darker background, created when a hot gas emits photons characteristic of the elements of which the gas is composed.