Radiation therapy works by damaging the DNA within cancer cells, which prevents them from dividing and growing. Over time, these damaged cells die off, and the body naturally eliminates them. The therapy can be delivered externally via external beam radiation or internally through brachytherapy, where radioactive sources are placed inside or near the tumor.