A Service is an application component that can perform long-running operations in the background. It does not provide a user interface. There are 3 kind of service:
By default, service will run on the main/UI thread if we don't explicitly specify the worker thread.
A bound service runs only as long as another application component is bound to it. Multiple components can bind to the service at once, but when all of them unbind, the service is destroyed.