This chapter explores the concept of classes and fields in Pydantic and how they are stored in a database, highlighting the advantages of data science queries on the database layer and the flexibility of MongoDB's document-based structure. It also discusses the use of the link type in Beanie for establishing document relations and the new feature of backtracking back references for links.