Forty ginsenosides were identified by UPLC-QE-Orbitrap-MS/MS analysis, including ginsenosides Rb1, Rc, Rd, Re, and Rh1.Based on database screening, 124 candidate targets for the treatment of HF were obtained from different derived ginsenosides of ginseng, including 22 core targets such as EGFR, AKT1, ERBB2, STAT3, TNF, ESR1, MTOR, HRAS, MMP9, and PIK3CA. The gene discussed is MMP9; the disease is hydrops fetalis.