A limit order specifies the maximum price a buyer is willing to pay or the minimum price a seller is willing to accept. Execution is not guaranteed if the market does not reach the limit price.