Eating the right foods can significantly improve brain function and memory.