Gastroenterology is a medical specialty dealing with the anatomy, function and diseases of the digestive tract. A specialist is a gastroenterologist.