What it does
A limit order sets the price you are willing to trade at. If you want to buy at 90 and the current price is 100, a buy limit order at 90 will wait. It executes only if the price falls to 90 or below. A sell limit order works the other way round: it fills only at your price or higher. Encyclopedic definitions describe it as an order to buy or sell at a specific price or better.
Control versus certainty
The trade-off is between price and certainty. A limit order gives you control over the price but no guarantee it will be filled, since the market may never reach your level, or it may touch it only briefly. A market order does the opposite: it fills immediately at the best available price, but the price is not known in advance.
In an order book
On an exchange with an order book, a limit order that cannot fill immediately is placed in the book, where it becomes part of the visible bids or asks. Other traders can then trade against it. It stays until it is filled, cancelled or expires. A limit order priced at or better than the best opposite quote fills at once, and may be filled in part if there is not enough quantity.
On decentralised exchanges
Pool-based exchanges trade at the price set by their reserves, so they do not natively wait for a target price. Some applications add limit-order features by watching the price and executing for you, and many wallets offer scheduled or price-triggered swaps. Check how these work, who executes them and whether they are non-custodial, before you rely on them.
Using them well
Set limits that reflect a price you genuinely want, keep an eye on fees and remember that unfilled orders can still be exposed to sudden moves if you cancel late.