En Service är en Android-komponent för att utföra operationer utan ett UI — typiskt längre löpande arbete i bakgrunden. Det finns olika typer (förgrund, bakgrund, bunden), var och en lämplig för olika behov, även om moderna Android föredrar WorkManager för många fall.
Vad en Service är
A SERVICE runs operations WITHOUT a UI (not tied to a screen):
→ for work that should continue regardless of UI (or independent of any activity)
→ declared in the manifest; runs in the app's process (main thread by default — must
move heavy work off it!)
