BDNF and major depressive disorder: Cognitive flexibility is a crucial aspect of an individual’s judgment and thinking (Friedman et al., 2018), and it is negatively affected by the loss of BDNF due to the buildup of neuroinflammatory substances in patients with MDD.