Six hub genes (FCGR3A, CD69, IFNG, CCR7, CCL5, and CCL4) were closely associated with COVID-19 and HF. The gene discussed is IFNG; the disease is COVID-19.