Animal intestines contain a large population of gut flora. In humans, the four dominant phyla are Firmicutes, Bacteroidetes, Actinobacteria, and Proteobacteria. They are essential to digestion and are also affected by food that is consumed. Bacteria in the gut perform many important functions for humans, including breaking down and aiding in the absorption of otherwise indigestible food; stimulating cell growth; repressing the growth of harmful bacteria, training the immune system to respond only to pathogens; producing vitamin B12; and defending against some infectious diseases.