Electron spin plays an important role in magnetism, with applications for instance in computer memories. The manipulation of nuclear spin by radio-frequency waves (nuclear magnetic resonance) is important in chemical spectroscopy and medical imaging.