Chronic HBV infection is a significant risk factor for developing liver cancer, specifically hepatocellular carcinoma (HCC). The virus can cause persistent liver inflammation, leading to cirrhosis, which significantly raises the risk of HCC. The mechanisms involve both direct and indirect pathways, including viral integration into the host genome and chronic immune-mediated liver damage.