Dementia, characterized by cognitive decline beyond age-related expectations, poses a formidable global health challenge. With an estimated 55 million individuals affected worldwide and 10 million new cases annually, dementia profoundly impacts memory, comprehension, language, and behavior. Then, the global diabetes population increased from 108 million in 1980 to 422 million in 2014, with a more rapid rise in prevalence observed in low- and middle-income countries compared to high-income countries. Individuals with diabetes have an increased risk of cognitive problems, including a higher likelihood of developing dementia, Alzheimer's disease, and vascular dementia, especially in older age. Managing diabetes through diet, physical activity, medication, and consistent screening and treatment for complications can prevent or delay its consequences. Globally ranking as the seventh leading cause of death, dementia's societal implications are substantial. The chapter delves into Mild Cognitive Impairment (MCI), a precursor to dementia, emphasizing its global epidemiological trends. Neuroimaging, particularly Functional Near-Infrared Spectroscopy (fNIRS), emerges as a non-invasive diagnostic tool, surpassing traditional imaging methods' portability. The chapter investigates the effects of transcranial electrical stimulation (tES) on neurovascular tissues, shedding light on its impact including potential to address metaboreflex related reduced exercise tolerance. Furthermore, the chapter presents a clinical trial examining the effects of a 2-month exercise program on cognitive function and muscular oxidative capacity in older adults with type 2 diabetes. The study's design, individualized exercise regimens to address muscle mechanoreflex and metaboreflex responses, and their physiological changes during exercise are discussed, offering insights into the interplay between exercise tolerance, cognition, and vascular health. The findings contribute to tailored and effective interventions for cognitive well-being. Here, our exploration extends to the application of tES in optimizing exercise performance, with a focus on its various forms, including transcranial direct current stimulation (tDCS) and transcranial alternating current stimulation (tACS). A physiological modeling approach based on the neurovascular unit (NVU) is employed, revealing potential avenues for also treating vascular dementia (often noted to have a stronger association with type 2 diabetes) through tACS, guided by human-in-the-loop approaches. Here, modal analysis for control is applied to assess the NVU model's characteristic dynamics under tACS, providing a comprehensive understanding of neurovascular coupling modes. In summary, this chapter synthesizes diverse facets in type 2 diabetes comorbidity and cognitive decline, ranging from global impact and diagnostic criteria to innovative interventions like exercise and transcranial electrical stimulation. The multidisciplinary approach integrates epidemiology, clinical trials, and physiological modeling, contributing valuable insights into the holistic management of cognitive health and neurovascular function.