Radiotherapy uses carefully measured doses of radiation to treat cancer. The most common type of radiotherapy uses beams of high-energy rays, usually x-rays. The radiotherapy machine aims specific amounts of the radiation only to the area of the body that it is pointed at and nowhere else.