A market order fills immediately at the best available price. It guarantees execution, not price: in a hectic market you may be filled a little further away than expected.
A limit order sets your price: a buy limit sits below the current price, a sell limit above. It fills at your price or better, but may never be filled.
A stop order waits for a threshold to be touched, then becomes a market order. A sell stop cuts a loss; a buy stop enters on an upside breakout.
A stop-limit triggers like a stop but becomes a limit order: it avoids too bad a price, at the risk of not getting out. Also choose the duration: for the day or until cancelled.
Examples
ORDRE-X (fictional market) : The two lines on this fictional market mark a floor and a ceiling. A buy limit would sit near the floor, a sell limit near the ceiling, and a sell stop just below the floor to get out if the price breaks it.
7 October 2016: the pound flash crash : In the middle of the Asian session, the pound sterling fell about 6% against the dollar within minutes before partly recovering. Many stop orders were triggered in a cascade and filled at prices far worse than their threshold.
Key terms
Market order
Order filled immediately at the best available price
Limit order
Order filled at a chosen price or better
Stop order
Order triggered at a threshold, then filled at market
Stop-limit
Order triggered at a threshold, then filled only within a price limit