What are service providers in laravel

What are service providers in laravel ?

Service providers are the central place of all Laravel application bootstrapping. Our own application, as well as all of Laravel’s core services are bootstrapped via service providers.

Service provider basically registers event listeners, middleware, routes to Laravel’s service container.
All service providers need to be registered in providers array of app/config.php file.