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 pyramid of boxes where each box is heavier than the boxes below it, so the heaviest box is always on top and easy to grab.
[50]
/ \
[30] [20]
/ \ / \
[10] [15] [5] [7]