We found that CD8+ T cells and M2 macrophages were closely related to TNFRSF14 and APOL2, and the expression of TNFRSF14 and risk score were strongly associated with tumor purity, immune score, various inflammatory factors, and others. The gene discussed is CD8A; the disease is neoplasm.