A May 2021 study by the German Centre for Neurogenerative Diseases said, 

"People in the second half of life have constant eating habits. We analyzed whether the study participants regularly eat a Mediterranean diet - and whether this might have an impact on brain health ", 

"There was also a significant positive correlation between a closer adherence to a Mediterranean-like diet and a higher volume of the hippocampus. The hippocampus is an area of the brain that is considered the control center of memory. It shrinks early and severely in Alzheimer's disease," 

"It is possible that the Mediterranean diet protects the brain from protein deposits and brain atrophy that can cause memory loss and dementia. Our study hints at this," 

“But the biological mechanism underlying this will have to be clarified in future studies."