The subjects of this study were lung cancer patients, and the results showed that the levels of CD3+, CD4+, CD4/CD8+, and NK in the four groups at T1 were lower than those at T0, which confirm that routine mechanical ventilation can adversely affect the patient's immune system. This evidence concerns the gene CD8A and lung cancer.