Beyond diagnosis, X-rays are also integral to some cancer treatments. Radiation therapy, which often uses higher doses of X-rays, targets cancer cells to destroy their DNA, preventing them from growing and dividing. This therapy can be used to treat many types of cancer, either alone or in combination with other treatments such as chemotherapy and surgery.