In summary, the postoperative survival rate of NSCLC patients was related to T-cell infiltration, especially CD8+ cell infiltration, which had an immunosuppressive effect on local tumors. The gene discussed is CD8A; the disease is non-small cell lung carcinoma.