Magnetic resonance imaging (MRI) is a medical imaging technique that uses strong magnetic fields and radio waves to produce detailed images of the internal structures of the body. MRI makes use of nuclear magnetic resonance to image the nuclei of atoms inside the body and can create more detailed images than X-rays. During an MRI scan, patients lie within an enclosed scanner and remain still while loud clicking noises occur as the scanner takes images, which can take 30 minutes to 1.5 hours to complete depending on the area scanned.