The immune system plays a key role in detecting and destroying cancer cells. Cancer immunotherapy works by programming immune cells to recognize and eliminate cancer cells.