Opdivo is an immunotherapy treatment. It belongs to the class of medicines known as checkpoint inhibitors and works by blocking the PD-1 (programmed death receptor-1) pathway to help prevent cancer cells from hiding from the immune system, boosting the immune system's response against cancer.