Changes in factors such as HOMA-IR, TyG index, BGL, ITT, HbA1c, glucagon levels, IR, and GIR suggest that treatment with MgSO4 and insulin may improve glucose metabolism, improve insulin response, and help reduce the risk of T2DM in diabetic patients and future generations. The gene discussed is INS; the disease is type 2 diabetes mellitus.