The digestive system consists of organs whose primary functions are ingestion, digestion, absorption of food and excretion of undigested food, including the mouth, pharynx, esophagus, stomach, small and large intestines and the accessory digestive organs such as the liver, pancreas and gall bladder.