The walls of the intestines have 3 layers. The inside layer is called mucosa; it is responsible for digesting and absorbing food.