Foods you eat can affect your brain and way of thinking.