When a user makes a transaction in the Ethereum network, they set their Gas Limit, which is the most they are willing to pay as a fee for that transaction. If the transaction is going to cost more Gas than what is offered, the transaction will not go through. If it costs less, the difference will be refunded.