What we feed kids

Children usually love sweet foods. How important is the food that children eat? Does it have to be healthy?