Molecular spectroscopy is the study of how electromagnetic radiation interacts with molecules, focusing on emission, absorption, or scattering of radiation. This interaction provides spectra that reveal compositional and structural details of molecules by analyzing energy transitions among their different states. The fundamentals include translational, rotational, vibrational, and electronic energies, which are mathematically represented to describe the total molecular energy involved in these spectroscopic processes.