Researchers warn pregnant women and their children to avoid drinking too many sodas, as excessive amounts of sugar in these drinks can negatively impact memory and learning. However, consuming fruits appears to be beneficial for cognitive development, the study reports.