Mental Model
Shortest path means finding the quickest way between two points when many routes exist. Trees have only one path between points, but graphs can have many paths and loops.
Analogy: Imagine city streets: a tree is like a single straight road with no turns, so only one way exists. A graph is like a city map with many roads and intersections, so you must choose the best route.
Tree: 1 / \ 2 3 Graph: 1 -> 2 -> 3 ↑ ↓ ↑ 4 ← 5 ← 6
