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 roads: a tree is like a single straight road with no turns, so only one way exists. A graph is like a city with many streets and intersections, where you can choose different routes to reach your destination.
Tree: 1 / \ 2 3 Graph: 1 -> 2 ↑ ↘ ↓ 4 ← 3
