The results of GSEA indicated that CD274 and PDCD1LG2 were associated with several irreplaceable biological pathways, such as “Activation of Immune Reactions,” “Regulation of Cell Adhesion and Activation,” “IL2-STAT5 signaling,” and “Epithelial Mesenchymal Transition.” In addition, the results of GO and KEGG analyses indicated that CD274 and PDCD1LG2 played crucial roles in cytokine activation, cytokine and cytokine receptor interactions, and T cell activation, suggesting that CD274 and PDCD1LG2 participate in the anti-tumor immunity and cancer metastasis. This evidence concerns the gene IL2 and cancer.