The CD8+ T-cell population attacks the cancer cells by producing cytotoxic molecules like perforin. Here, CD8A is linked to cancer.