A doctor who specializes in delivering infants and providing care to patients both during and after pregnancy