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. This evidence concerns the gene ARRB1 and central nervous system cancer.