In the last trimester of pregnancy, we now know, babies sample their mothers’ diets by ingesting amniotic fluid. After birth, they show a preference for flavors that they encountered prenatally, biasing them toward eating foods and spices that are healthful in their communities.