MRI plays a crucial role in the planning of cancer treatment. It helps in mapping the tumor's location, which is essential for surgical planning and radiation therapy. MRI can also be used in guiding biopsies to ensure accurate sampling of tissue from the tumor. In some cases, MRI is used to evaluate the effectiveness of a treatment regimen, allowing clinicians to adjust treatment plans as necessary.