Keys are used to uniquely identify records in a database table and establish relationships between tables. The primary key uniquely identifies each record, while candidate keys and super keys can also uniquely identify records but are not used. Foreign keys link records between tables by pointing to a primary key in another table. Generalization combines lower level entities into higher level entities if they share attributes, while specialization breaks higher level entities into more specific lower level subclasses. Aggregation combines entities into a new entity. The relational model represents data in tables with rows and columns, each having a name, domain, and relationship to other tables through keys.