Radiation oncology is the medical specialty that focuses on the use of radiation therapy to treat cancer.