Um Service é um componente Android para realizar operações sem UI — tipicamente trabalho de longa duração em background. Existem diferentes tipos (foreground, background, bound), cada um adequado a necessidades distintas, embora o Android moderno favoreça WorkManager para muitos casos.
O que é um Service
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!)
