Gastroenterology is a branch of medicine that specializes in the diagnosis and treatment of people with diseases affecting the stomach, intestines, and other digestive organs. There are several types of procedures available to detect abnormalities in the upper and lower gastrointestinal (GI) tract..