How to create a path dynamically for different scene in a game?

I am trying to create a path dynamically for my game.
but i am not getting it.

Path that a character can walk on? Use the navigation and pathfinding system in Unity.