Radiation in the radiofrequency region is used to excite atoms, like protons or carbon-13 atoms, so that their spins switch from being aligned with to being aligned against an applied magnetic field. The range of frequencies required for excitation and the complex splitting patterns produced are very characteristic of the chemical structure of the molecule.