A buy limit order lets you set the maximum price that you’re willing to pay for a share.
A sell limit order lets you set the minimum price you’re willing to sell at.
Your order won’t go through unless shares at your limit price, or better, are available, and there are no other orders ahead of you in the queue.