These agents work by interacting with different components of the immune system. For example, checkpoint inhibitors block proteins that prevent immune cells from attacking cancer cells, thereby allowing the immune system to recognize and destroy these harmful cells. Other agents might stimulate the production of immune cells or enhance their ability to identify and kill cancer cells.