MRI uses resonance to selectively excite hydrogen protons in tissues placed in a strong magnetic field. When radiofrequency pulses are applied, the protons absorb and emit energy at their resonance frequency. This energy emission is detected to form MRI images with high contrast of soft tissues. While MRI provides advantages over other modalities, it also has drawbacks like high costs, long scan times, and artifacts. The behavior of protons in magnetic fields allows MRI to spatially encode tissue signals.