Magnets used to manufacture low-field and high-field NMR spectrometers are not perfect and the magnetic field that they generate is prone to drift for a variety of reasons. However, during an NMR experiment it is important to keep the magnetic field as stable as possible to prevent the signals from drifting. This is taken care of by the lock system.