Our findings revealed that TNFRSF1A and JUNB are key genes enriched within the TNF signaling pathway, essential for elucidating the molecular mechanisms underlying T2DM and MAFLD. The gene discussed is TNFRSF1A; the disease is type 2 diabetes mellitus.