Shortest path in unweighted Graph

Why the Parent Array Matters in Shortest Path Problems