Both effector CD8+ T cells and memory CD8+ T cells play important roles in cancer treatment. This evidence concerns the gene CD8A and cancer.