A stop order becomes a market order once the price hits your chosen trigger level. It is used both to enter breakouts and to exit losing trades.
A buy stop sits above the current price; a sell stop sits below. Because it turns into a market order when triggered, a stop order can be filled with slippage in fast markets.