Affinity Pediatrics. Pediatrics is the branch of medicine that deals with the care of infants, children, and adolescents. Pediatricians generally deal with patients from birth to 18 years of age. These doctors provide treatment for illnesses and injuries, but also assist in the maintenance of children's growth and health..