What we consume could also take a toll on our mood and memory, according to researchers, though there is a way to counteract these effects.