Fun fact - the brain mostly runs on glucose.  Insulin resistance due to type 2 diabetes means your brain actually works less well.  One of the reasons I spend so much time exercising as a type 2 diabetic.  Exercise improves insulin sensitivity.