We found that high infiltration of CD8-positive T cells in tumor tissue, high expression of CD68-positive tumor-associated macrophages, and low expression of CD4-positive T cells was significantly associated with good response to ICI treatment and survival. The gene discussed is CD8A; the disease is neoplasm.