Mental Model
A tree is a special kind of graph with no loops and exactly one path between nodes. A graph can have loops and multiple paths.
Analogy: Think of a family tree where each person has one parent path up, no cycles. A city map with roads connecting places can have loops and many ways to get from one place to another.
Tree: 1 / \ 2 3 Graph: 1 --- 2 | \ | 3 --- 4
