What happens when there are no buyers / sellers for an order?

If there are no buyers when you place a sell order, or no sellers when you place a buy order, your order will be pending at exchange.