A session keeps track of ORM objects and their changes, manages transactions and is used to perform queries.