A market order fills fast, but you do not choose the price. If the price moves quickly or few shares are on offer, you may pay more or get less than the last price you saw.
It suits shares that trade a lot. For thinly traded shares, a limit order gives you more control.
Related terms: Limit order, Bid and ask.