A study published last year found that from birth, from the moment of birth, babies cry in the accent of their mother's native language. French babies cry on a rising note while German babies end on a falling note, imitating the melodic contours of those languages. Now why would this kind of fetal learning be useful? It may have evolved to aid the baby's survival. From the moment of birth, the baby responds most to the voice of the person who is most likely to care for it -- its mother. It even makes its cries sound like the mother's language, which may further endear the baby to the mother, and which may give the baby a head start in the critical task of learning how to understand and speak its native language.
But it's not just sounds that fetuses are learning about in utero. It's also tastes and smells. By seven months of gestation, the fetus' taste buds are fully developed, and its olfactory receptors, which allow it to smell, are functioning. The flavors of the food a pregnant woman eats find their way into the amniotic fluid, which is continuously swallowed by the fetus. Babies seem to remember and prefer these tastes once they're out in the world. In one experiment, a group of pregnant women was asked to drink a lot of carrot juice during their third trimester of pregnancy, while another group of pregnant women drank only water. Six months later, the women's infants were offered cereal mixed with carrot juice, and their facial expressions were observed while they ate it. The offspring of the carrot juice drinking women ate more carrot-flavored cereal, and from the looks of it, they seemed to enjoy it more.