pediatrician provides general care for children, while a pediatric immunologist specializes in diagnosing, treating, and managing immune system disorders in children.