MRS measures the concentration of various metabolites in tissues. The technique involves placing the patient within an MRI scanner, where radiofrequency pulses are used to disturb the magnetic field of specific nuclei, commonly hydrogen-1 (1H) or phosphorus-31 (31P). The resulting spectra represent the chemical composition of the tissue, offering insights into metabolic changes associated with cancer.