In summary, the potential mechanism of Bidens pilosa L.’s active components in combating hepatic fibrosis involves acting on relevant targets and pathways, such as PIK3R1, HSP90AA1, SRC, TP53, AKT1, and RELA, which inhibit the proliferation and activation of HSCs and increase apoptosis, thereby reversing and improving hepatic fibrosis. The gene discussed is RELA; the disease is Hepatic fibrosis.