Gastroenterologists are doctors who are trained to diagnose and treat problems in your gastrointestinal (GI) tract and liver.