Because the rays cannot be directed perfectly, they may damage both cancerous and healthy cells nearby. If the dose of radiation is small and spread over time, the cancer cells die while the healthy cells are able to recover and survive.