Mental Model
A heap is a special tree where each parent is bigger (max-heap) or smaller (min-heap) than its children, making it easy to find the biggest or smallest item quickly.
Analogy: Imagine a family tree where parents are always taller than their children, so the tallest person is always at the top, making it easy to spot the tallest family member.
10
/ \
5 3
/ \ / \
2 4 1 null