A pending transaction is one that's on its way but not final. Until it posts, the bank holds back that amount from the money available to spend.
For example, a hotel might place a $100 hold on a debit card at check-in. An account with $200 would show $100 available until the hold is released or replaced by the final bill (Nebraska Department of Banking and Finance).
Nebraska's banking department describes a hold as "a temporary authorization—not the final payment" (Nebraska Department of Banking and Finance). When the final charge arrives, it replaces the hold. Gas stations, hotels, car rentals and restaurants often use holds because they don't know the final total yet. The CFPB adds that transactions "don't always update your account balance immediately, or in the order you expect them to" (CFPB).
A hold larger than the final charge can still cause an overdraft if another payment arrives while it's in place.