INS and type 2 diabetes mellitus: This study demonstrated that in patients with T2DM, 25(OH)D levels exhibited positive correlations with TIR and glucose-stimulated insulin secretion parameters, while showing negative correlations with GV parameters.