Magnetic resonance imaging is a diagnostic imaging method that uses an electromagnetic field to produce high-definition images of internal structures and organs of the body.