How do you produce radiation without radioactive substances?

Our treatment machines are linear accelerators which use a lot of electricity to accelerate electrons and aim them into a target made of a heavy metal (Tungsten). The interaction of electrons with a large atom such as Tungsten produces gamma rays which are precisely aimed for treatment to the area of interest.