A linear accelerator (linac) is a device commonly used in radiation therapy to treat cancer. It delivers high-energy x-rays or electrons to the region of a patient's tumor. These high-energy beams are designed to destroy cancer cells while sparing the surrounding normal tissue.