Magnetic resonance imaging (MRI) uses strong magnetic fields and radio waves to generate images of organs and tissues in the body. It does not use ionizing radiation like CT scans. MRI works by aligning hydrogen protons in the body under a magnetic field, then using radio waves to induce precession and generate signals that are processed into images. Key components of an MRI machine include large superconducting magnets, gradient coils to spatially encode signals, and RF coils for transmitting and receiving radio signals. MRI provides excellent soft tissue contrast and is used to diagnose many medical conditions.