In HCC, IFN-γ is primarily produced by activated T cells and NK cells, playing a crucial role in immune regulation. Here, IFNG is linked to hepatocellular carcinoma.