A medical imaging technique that uses magnetic fields and radio waves to visualize internal structures of the body.