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. The gene discussed is CD274; the disease is neoplasm.