Services are an abstraction layer that handles an application's business logic, which usually includes communicating with a backend and parsing/returning data or datasets. In Angular 1.x, we had a few different ways of creating a service (.service(), .factory() and .provider()).
Full article