Exhausted CD8+ T lymphocytes and tumor-associated macrophages play critical roles in determining cancer prognosis and the efficacy of immunotherapy. Here, CD8A is linked to cancer.