An Angular service is a class that carries logic or state shared between several components: API calls, authentication, common data. It is decorated with @Injectable and received through dependency injection, which keeps components lightweight and easy to test.
Example
@Injectable({ providedIn: 'root' })
export class TacheService {}