Fermented foods

Fermented foods are delicious and linked with a number of positive impact on the body. They are also good for brain health. The benefits are short and long term. Do all these foods affect brain in an equally similar way? Is one better than the other?