An obstetrician is a doctor specializing in pregnancy, childbirth, and the postpartum period. They provide care to expec