GO enrichment analysis revealed that regulation of interferon-gamma-mediated signaling pathway, the modulation of the TGF-β receptor signaling pathway, and ubiquitin-like protein ligase binding were significantly associated with the occurrence and development of T2D. The gene discussed is IFNG; the disease is type 2 diabetes mellitus.