Spectroscopy, i.e. measurement of the response of a system to a perturbing electromagnetic field, is one of the most important tools to study microscopic systems. This course provides the basics of spectroscopy, discussing in detail the interaction between atoms and electromagnetic radiation.