GO(Gene‐ontology) enrichment analysis, co‐expression analysis, KEGG(Kyoto Encyclopedia of Genes and Genomes) pathway analysis, and immune infiltration analysis were performed to explore roles and related mechanisms of B2M in glioma. The gene discussed is B2M; the disease is glioma.