Here is a quote from the article…
"Fasting is a challenge to your brain, and your brain responds to that challenge by adapting stress response pathways which help your brain cope with stress and risk for disease. The same changes that occur in the brain during fasting mimic the changes that occur with regular exercise.
They both increase the production of protein in the brain (neurotrophic factors), which in turn promotes the growth of neurons, the connection between neurons, and the strength of synapses."
it makes sense, but I had not thought of this particular benefit.