Mental Model
A BST iterator lets you visit nodes in order one by one without storing all nodes at once. It uses a stack to remember where to go next.
Analogy: Imagine reading a book with bookmarks. You keep bookmarks on pages you might return to later, so you can continue reading in order without flipping all pages at once.
4 / \ 2 6 / \ / \ 1 3 5 7 Stack holds nodes to visit next, like bookmarks: Top -> [1, 2, 4] means next visit is 1, then 2, then 4.