PD-1 inhibitors are a class of drugs known as immune checkpoint inhibitors. These drugs block the interaction between PD-1 and its ligands, PD-L1 and PD-L2, thereby enhancing the immune system's ability to recognize and destroy cancer cells. Examples of PD-1 inhibitors include pembrolizumab (Keytruda) and nivolumab (Opdivo).