How do you define routes?

How do you define routes?

In Angular, routes can be defined as the objects comprised of at-least a path and a component. The path refers to the part of the URL that can be utilized in the Angular Project.