What is a limit order?

Let’s say you want to buy a stock but you’re scared it will run up too much before you buy it. Have you heard of a limit order?