Analysis of surgical samples indicated that the expressing levels of KLF2 and ANXA5 were associated with infiltrating immune cells and the expression of PD-L1 at the immune checkpoint in tumor tissues Our analysis showed that immune microenvironment and tumor immunity serve a crucial part in HCC. The gene discussed is KLF2; the disease is hepatocellular carcinoma.