Radiation therapy works by damaging the DNA within cancer cells, leading to cell death. This process can be administered externally through a machine called a linear accelerator (external beam radiation therapy) or internally by placing radioactive sources close to the tumor (brachytherapy).