Gastroenterology is the branch of medicine that focuses on the diagnosis, treatment, and management of disorders and diseases affecting the gastrointestinal (GI) tract. This includes a wide range of conditions that affect the esophagus, stomach, small intestine, large intestine (colon), liver, pancreas, and bile ducts.