Repository is typically a layer between service and data storage (e.g., database).
It provides methods for interacting with the data, such as retrieving, creating, updating, and deleting data. These methods don't contain any business logic, but rather focus on data access and manipulation.
Repositories are often implemented using some data access technology, such as an ORM (Object-Relational Mapping) framework or a SQL library.
Service layer uses repository to access data and perform business logic.