In addition, the infiltration of CD8+ T cells, the combination of CD8+ and CD8+PD-L1+ T cells, and the combination of CD8+ T cells and CD68+CD163+ M2 macrophages were potential indicators for predicting the response to ICIs in NSCLC. The gene discussed is CD163; the disease is non-small cell lung carcinoma.