It primarily functions by blocking the interactions between PD-1 and its ligands PD-L1 and PD-L2, as well as LAG3 and MHC-II, thereby restoring T cell functionality and enhancing anti-tumor responses. This evidence concerns the gene PDCD1LG2 and neoplasm.