Gamma rays are primarily used in radiation therapy, a common treatment for cancer. In this context, they help destroy cancer cells by damaging their DNA, which prevents the cells from growing and dividing. The most common method of delivering gamma rays for cancer treatment is through a technique called external beam radiation therapy (EBRT).