Killing cancer cells
Radiaiton therapy uses high energy x-rays to cause injury to cancer
It is used in many cases were surgery is either not possible or even despite surgery, there will be cancer cells left behind. Radiation in general works by either killing or injurying cancer cells so that they either die off directly or die off as they try and grow/divide. The normal body is able to recover by healing.