The magnetic moment has a close connection with angular momentum called the gyromagnetic effect. This effect is expressed on a macroscopic scale in the Einstein–de Haas effect, or "rotation by magnetization", and its inverse, the Barnett effect, or "magnetization by rotation". Further, a torque applied to a relatively isolated magnetic dipole such as an atomic nucleus can cause it to precess (rotate about the axis of the applied field). This phenomenon is used in nuclear magnetic resonance.