A service is a background component in Android that runs without direct user interaction. Services are used for repetitive or long-running tasks like downloading content or checking for new data. To create a custom service, it must be declared in the AndroidManifest.xml file and extend the Service class. A service can be started with startService(intent) and stopped with stopService(), and will call onStartCommand() each time it is started.