What is a router in Ember.js?

A router is a core feature of Ember.js. It is used to translate the URL into the series of templates and also represent the state of an application. Every URL has a corresponding route object that controls what is visible to the user. It matches the current URL to other routes which are used for loading the data, displaying the templates and set up an application state.