Service — это компонент Android для выполнения операций без пользовательского интерфейса — обычно для длительной работы в фоне. Существуют разные типы (foreground, background, bound), каждый подходит для разных задач, хотя в современном Android часто рекомендуется использовать WorkManager.
Что такое 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!)
