Magnetic resonance spectroscopy (MRS) is a type of analysis that works by detecting radio frequency electromagnetic signals. The atomic nuclei found within molecules produce these signals which can be translated, using MRS, to measure the concentration of chemicals in a sample.