Nuclear Magnetic Resonance (NMR) is the foundation of Magnetic Resonance Imaging (MRI) technology. How does it work? This simulation based on VPython illustrates what magnetic resonance is, what free induction decay is, what spin-spin relaxation is (T2 time), and what spin-lattice relaxation (T1 time) is. This should be useful to students learning about this physics and technology. Check out: https://glowscript.org/#/user/RASchumacher1/folder/My_Programs/program/NucMagRes8