Gastroenterology is the branch of medicine that focuses on the digestive tract and the gallbladder, liver, bile ducts, and pancreas. Gastroenterologists are doctors who are trained to diagnose and treat problems in your gastrointestinal (GI) tract and liver. These doctors also do routine procedures such as colonoscopies, which look at the inside of your colon.