Gastroenterologists are medical doctors who specialize in the diagnosis and treatment of conditions that affect the digestive system.