Compared to non-viral HCCs, Treg cells and CD8+ resident memory T cells that are abundant in HBV-related HCC exhibit higher PD-1 expression and functional exhaustion, which results in a poorer prognosis. Here, CD8A is linked to hepatocellular carcinoma.