Gastroenterologists are doctors who diagnose problems with the gastrointestinal tract and liver. They undergo five extra years of specialized study to assist patients with problems in their stomach, intestines, esophagus, liver, pancreas, colon, and rectum