Routers are classes responsible for recognizing different types of URLs.
Magento 2 is more consistent than Magento 1 in this process of defining the classes that process the URLs.
Routing converts a request URL into a style Magento can handle, and then finds the class that will be able to process it.