Gastroenterology is the branch of internal medicine that focuses on the structure, functions and diseases of the digestive tract.