A gastroenterologist is a medical doctor who has specialized training in the management of diseases of the gastrointestinal (GI) tract and liver. This includes the esophagus, stomach, small intestine, large intestine (colon), rectum, pancreas, gallbladder, and liver.