What Is Spectroscopy: How Scientists Identify Substances Using Light

A comprehensive guide to spectroscopy—how different types of electromagnetic radiation interact with matter to reveal molecular structure, elemental composition, and chemical identity across science and industry.

The InfoNexus Editorial TeamMay 14, 202610 min read

What Is Spectroscopy?

Spectroscopy is the study of how matter interacts with electromagnetic radiation—light in the broadest sense, from radio waves to gamma rays. When light of specific wavelengths is absorbed, emitted, or scattered by atoms and molecules, the resulting patterns (called spectra) act as unique fingerprints that identify the substance, reveal its structure, and measure its quantity. Spectroscopy is one of the most powerful and versatile tools in all of science, used to identify molecules in a pharmacist's drug analysis, determine the composition of a star billions of light-years away, detect explosives at airport security, and sequence proteins in a cancer research laboratory.

The fundamental principle is that atoms and molecules have discrete energy levels—specific, quantized amounts of energy they can possess. When electromagnetic radiation of the right frequency strikes a molecule, it can be absorbed if the photon's energy matches the energy gap between two of the molecule's energy levels. The molecule jumps to a higher energy state ("excited state") and the radiation at that frequency is absorbed. By scanning across a range of frequencies and measuring which are absorbed (or emitted as the excited molecule returns to its ground state), scientists can construct a spectrum that is specific to that molecule's energy level structure.

The Electromagnetic Spectrum and Molecular Motions

Different regions of the electromagnetic spectrum interact with matter in different ways, corresponding to different types of molecular motion or electronic changes. This correspondence means that different types of spectroscopy provide different types of information. Radio waves have the lowest energy and interact with nuclear spins in magnetic fields—the basis of NMR spectroscopy and MRI. Microwaves correspond to rotational energy levels of molecules in the gas phase. Infrared radiation corresponds to molecular vibrational energy levels—the stretching and bending of chemical bonds—making infrared spectroscopy the classic tool for identifying functional groups. Visible and ultraviolet light interact with the energy levels of electrons in molecules, producing electronic spectra that reveal the electronic structure and are used in UV-Vis spectroscopy. X-rays interact with core electrons and can be used for X-ray crystallography and X-ray fluorescence. Gamma rays interact with atomic nuclei.

Because each type of spectroscopy probes different aspects of molecular structure, chemists typically use several techniques together when characterizing an unknown compound. The combination of infrared, NMR, and mass spectrometry, for example, can usually fully determine the structure of a small organic molecule.

Infrared Spectroscopy

Infrared (IR) spectroscopy measures the absorption of infrared radiation by molecular vibrations—the stretching and bending of chemical bonds. Different chemical bonds vibrate at characteristic frequencies: the O-H bond of an alcohol vibrates at a different frequency than the C=O bond of a ketone, the N-H bond of an amine, or the C-H bond of an alkane. By passing IR radiation through a sample and measuring which wavelengths are absorbed, a chemist can identify the functional groups present in a molecule. IR spectra are often described as molecular fingerprints: even structurally similar molecules typically have distinctive IR spectra in the "fingerprint region" (900–1500 cm-1).

Modern IR spectroscopy uses a technique called Fourier Transform Infrared Spectroscopy (FTIR), which simultaneously collects data across all wavelengths and uses a mathematical transformation to convert the raw data into a conventional spectrum. FTIR instruments are fast, sensitive, and widely used in quality control, environmental monitoring, and pharmaceutical analysis. Portable FTIR devices are used by police and customs officials to identify drugs, explosives, and counterfeit goods. Atmospheric scientists use IR spectroscopy to measure the concentrations of greenhouse gases including CO2, methane, and water vapor.

Nuclear Magnetic Resonance Spectroscopy

Nuclear Magnetic Resonance (NMR) spectroscopy is arguably the most powerful tool available for determining the structure of organic molecules. It exploits a quantum property of certain atomic nuclei—particularly 1H (hydrogen) and 13C (carbon)—called nuclear spin. When placed in a strong magnetic field and irradiated with radio waves of the right frequency, nuclei absorb energy and resonate. The exact frequency at which a nucleus resonates depends on its chemical environment—the electrons around it, the adjacent atoms, and the bonds it participates in. This frequency difference, called the chemical shift, provides detailed information about the electronic environment of each type of hydrogen or carbon in the molecule.

From the pattern of chemical shifts, the splitting of NMR signals (caused by coupling between adjacent nuclei), and the relative areas of NMR peaks, a skilled chemist can often determine the complete three-dimensional structure of a small molecule. For larger molecules like proteins and nucleic acids, multi-dimensional NMR techniques can determine solution-phase structures. The same physics underlying NMR spectroscopy is the basis of MRI (Magnetic Resonance Imaging), which maps hydrogen nuclei in water molecules throughout the body to produce medical images—a remarkable example of fundamental science finding life-saving clinical application.

UV-Visible Spectroscopy

UV-Visible (UV-Vis) spectroscopy measures the absorption of ultraviolet and visible light by molecules, corresponding to transitions of electrons between molecular orbital energy levels. Molecules with extended systems of alternated single and double bonds (conjugated systems) or with certain functional groups (chromophores) absorb in the UV or visible region. The wavelength of maximum absorption (λmax) and the intensity of absorption (the molar extinction coefficient, ε) are characteristic of specific structural features.

UV-Vis spectroscopy is widely used for quantitative analysis via Beer's Law: the absorbance of a solution is proportional to the concentration of the absorbing species and the path length through the sample (A = εcl). This relationship makes UV-Vis a fast and convenient tool for measuring the concentration of many substances—from the hemoglobin in blood to the DNA in a biological sample. Colorimetric assays used in clinical laboratories and research—measuring glucose, proteins, enzyme activity—typically involve a chemical reaction that produces a colored product, then measuring the color intensity by UV-Vis.

Mass Spectrometry

Strictly speaking, mass spectrometry (MS) does not involve electromagnetic radiation interacting with matter in the same way as other spectroscopic techniques, but it is invariably grouped with spectroscopic methods because it similarly produces spectra used for molecular identification. In mass spectrometry, molecules are ionized (given electric charge) and then accelerated through a magnetic or electric field that separates them by their mass-to-charge ratio (m/z). The resulting mass spectrum shows which masses are present and in what relative abundance.

The molecular ion peak (M+) gives the molecular mass of the compound, while the pattern of fragment peaks indicates structural features. Modern mass spectrometers can measure molecular masses with extraordinary precision—to within a few parts per million—allowing the molecular formula of an unknown compound to be determined from a single measurement. When combined with chromatographic separation (GC-MS or LC-MS), mass spectrometry can identify and quantify trace amounts of specific compounds in complex mixtures—an approach central to drug testing, environmental analysis, forensic science, and proteomics (the large-scale study of proteins).

Spectroscopy Beyond the Laboratory

One of spectroscopy's most spectacular applications is in astronomy. Stars, nebulae, and distant galaxies emit and absorb light in patterns determined by the elements they contain. By analyzing the absorption and emission spectra of starlight, astronomers can determine the elemental composition of stars, their temperature, density, and velocity (through the Doppler shift of spectral lines), and even the chemical composition of exoplanet atmospheres. The dark absorption lines in the solar spectrum—the Fraunhofer lines, first observed by Josef von Fraunhofer in the 1810s—were eventually identified as the fingerprints of specific elements (calcium, hydrogen, sodium, iron) in the solar atmosphere. Helium was first detected in the Sun's spectrum before it was discovered on Earth.

Spectroscopy is also transforming medicine through developments like Raman spectroscopy for non-invasive glucose monitoring, fluorescence spectroscopy for single-molecule imaging in cells, and mass spectrometry for rapid bacterial identification in clinical microbiology. The fundamental principle—that the interaction of light and matter encodes chemical information—has proven inexhaustible in its applications. From identifying a counterfeit painting to confirming the composition of a distant galaxy, spectroscopy remains science's most versatile tool for asking matter: "What are you?"

Raman Spectroscopy and Emerging Techniques

Raman spectroscopy, named for the Indian physicist C.V. Raman who discovered the underlying effect in 1928 (for which he won the 1930 Nobel Prize), provides complementary information to IR spectroscopy. While IR spectroscopy detects vibrations that change the dipole moment of a molecule, Raman spectroscopy detects vibrations that change the polarizability—the deformability of the electron cloud. The two techniques often provide complementary information, and together they can characterize molecular vibrations more completely than either alone. Raman has the significant practical advantage that water—which absorbs strongly in the IR—is a weak Raman scatterer, making Raman spectroscopy particularly useful for studying biological samples in aqueous environments and for non-destructive analysis of objects like paintings, gemstones, and explosives.

Portable Raman instruments have transformed field analysis: customs officials can identify drugs and explosives in cargo without opening containers; archaeologists can identify pigments in ancient paintings without removing samples; pharmaceutical inspectors can verify drug identity and quality without destructive testing. Surface-enhanced Raman spectroscopy (SERS), in which molecules adsorbed on metal nanoparticles experience enormous signal enhancement, can detect single molecules—an astonishing sensitivity that opens applications in medical diagnostics (detecting disease biomarkers in blood at ultra-low concentrations) and environmental monitoring. The development of spectroscopic techniques continues at a rapid pace, driven by advances in laser technology, detector sensitivity, and data analysis algorithms—expanding the already extraordinary range of questions that spectroscopy can answer.

spectroscopychemistryanalytical chemistry

Related Articles