The branch of medical science that deals with all the organs in the digestive tract, which includes the oral cavity, stomach, esophagus, small intestine, large intestine, gallbladder, pancreas, liver, rectum, and anus, is called gastroenterology.