In ESCC, CD8+T cells, activated NK cells, M1 macrophages, M2 macrophages, and resting mast cells appeared more in the Immunity_H group than in the Immunity_L group, while the M0 macrophages and activated mast cells markedly decreased. The gene discussed is CD8A; the disease is esophageal squamous cell carcinoma.