- Magnetic resonance imaging (MRI): This test uses radio waves and magnets to produce images of body tissues and organs. The patient lies on a table that slides into a metal cylinder surrounded by a strong magnetic field. During part of the scan, a contrast agent is injected to brighten the images.