LIFO order for matching, backtracking through history, and monotonic tricks.
A stack is last-in-first-out — the most recently added item is the first one removed. It's the natural fit whenever "the most recent unmatched thing" matters, like nested brackets or undo history.
Blind 75 (1):
More from Blind 150 (6):