Immunotherapy is a type of treatment that affects your body's immune system. It's used to treat cancer. Immunotherapy medicines can work in a number of different ways.