The study of the interaction between matter and electromagnetic radiation, including atomic and molecular spectroscopy.