Imaging is integral to treatment planning in cancer. Before surgery, imaging helps delineate the tumor margins and assess the involvement of vital structures, guiding the surgeon in planning a precise and effective operation. In radiation therapy, imaging ensures that radiation is accurately targeted to the tumor while sparing healthy tissues. For instance, CT and MRI scans are used to create detailed maps of the tumor and surrounding anatomy, enabling precise delivery of radiation doses.