Moving food through the tract; secreting digestive juices and digesting food; absorbing water, electrolytes, vitamins and digestive products; circulating blood to carry absorbed substances away; and controlling all of this by local, nervous and hormonal systems.