The result of univariant cox analysis suggested that the infiltration of activated NK cells, M0 macrophages, activated mast cells, and neutrophils were hazard factors for the overall survival (OS) of cervical cancer patients, while the CD8+ T cells and M2 macrophages were beneficial factors for the OS. The gene discussed is CD8A; the disease is cervical cancer.