Nivolumab belongs to a class of medications known as immunotherapy. It works with your body's immune system to fight against the tumour cells.