The study of the absorption and emission of light by atoms.