In this study, we identified 21 immune-related genes differentially expressed in the TME (TMSB4X, IFNGR2, SERPINA3, VIM, CHGB, JUN, BMP2, TXLNA, CDC42, HDAC1, PSMC2, SSTR2, IL-13RA2, IL17D, ADCYAP1R1, PAK4, PDK1, UCN, GDF10, ARRB1, and TMSB15A), and these genes were significantly associated with the prognosis of glioma patients. The gene discussed is PSMC2; the disease is central nervous system cancer.