In addition to diagnosis, X-rays are also used in cancer treatment through a process known as radiation therapy. High-energy X-rays or other forms of radiation are used to kill cancer cells or inhibit their growth. This treatment can be external, using a machine outside the body to direct radiation at the cancer, or internal, involving the placement of radioactive material inside the body near cancer cells.