The interlayer between app logic and working with db. Can be used for separate working with db logic and make easy change method of interact with db. Eg change type of db, or orm, or library for work with db.
This is interface for make abstract working with base.
The level of abstraction with which to interact in the application logic.