Difference between doctor or midwife?

Ry
Just found out the doctor I'm switching to that was recommended to me is actually a midwife and idk how to feel about that, because I thought they were the same thing. What's the difference, and which did you perfer? I can still change my mind to someone else in the hospital but I heard she's the best.