The pattern of BDNF changes varied between T2DM, prediabetes, and control groups depending on cognitive impairment. The gene discussed is BDNF; the disease is Cognitive impairment.