An obstetrician specializes in pregnancy, childbirth, and the female reproductive system. A pediatrician is the specialist who treats diseases and conditions of childhood. The confusion often comes from both being medical specialties involving patients.