Magnetic resonance spectroscopy uses three primary steps for its procedure. The first step is to make sure the alignment (polarization) is correct, so that the magnetic nuclear spins in a constant, applied magnetic field (B0). In the second step, the nuclear spins are disturbed by a radio-frequency (RF) pulse. The third and final step is the analysis and detection of the electromagnetic waves released by the nuclei of the substance, due to the RF pulse.