Pediatrics deals with the overall health of newborns to teenagers, whereas pediatric gastroenterology deals with digestive system-related issues in children.