Spectral line
Overview
 
A spectral line is a dark or bright line in an otherwise uniform and continuous spectrum, resulting from a deficiency or excess of photons in a narrow frequency range, compared with the nearby frequencies.
Spectral lines are the result of interaction between a quantum system (usually atoms, but sometimes molecule
Molecule
A molecule is an electrically neutral group of at least two atoms held together by covalent chemical bonds. Molecules are distinguished from ions by their electrical charge...

s or atomic nuclei
Atomic nucleus
The nucleus is the very dense region consisting of protons and neutrons at the center of an atom. It was discovered in 1911, as a result of Ernest Rutherford's interpretation of the famous 1909 Rutherford experiment performed by Hans Geiger and Ernest Marsden, under the direction of Rutherford. The...

) and a single photon
Photon
In physics, a photon is an elementary particle, the quantum of the electromagnetic interaction and the basic unit of light and all other forms of electromagnetic radiation. It is also the force carrier for the electromagnetic force...

. When a photon has about the right amount of energy to allow a change in the energy state of the system (in the case of an atom this is usually an electron
Electron
The electron is a subatomic particle with a negative elementary electric charge. It has no known components or substructure; in other words, it is generally thought to be an elementary particle. An electron has a mass that is approximately 1/1836 that of the proton...

 changing orbitals
Electron configuration
In atomic physics and quantum chemistry, electron configuration is the arrangement of electrons of an atom, a molecule, or other physical structure...

), the photon is absorbed.
 
x
OK