Midwife vs ob doctor

What is the difference? Who do people go with midwife. What are midwife?