Router component is used for mapping defined paths/urls to appropriate controllers or services.