What is the purpose of $rootScope?

$rootScope helps in communication between different controllers of an application. AngularJS can have only one rootScope for an app.