What is a midwife?

Sorry if that’s a dumb question lol. I’m newly(ish) pregnant and I see everyone talk about their midwives. Now is it someone who actually delivers your baby? Do you still go to a hospital and have the same typical routine with an ob? What about appointments... do you see them instead of an ob?