Moreover, leveraging the differential expression of KLRB1, we stratified HCC patients into two groups and employed Kaplan-Meier analysis to discern whether KLRB1 expression on CD8+ T cells and NK cells could effectively differentiate patient prognosis. This evidence concerns the gene CD8A and hepatocellular carcinoma.