The analysis confirmed that DCs, NK cells, M1 macrophages, CD8+ T cells, and B cells in the tumor and stroma are associated with an improved prognosis, but stromal M2 macrophages, Tregs, and PD-L1 overexpression are associated with an unfavorable prognosis in NSCLC. This evidence concerns the gene CD8A and neoplasm.