The Magento 2 Routing will define name for a module which we can use in the url to find the module and execute the controller action.

Source: Magento 2 Routing – Custom Router – routes.xml file – Mageplaza