Keys are important parts of relational databases that establish relationships between tables and uniquely identify records. There are five types of keys: super keys use one or more fields to identify rows, candidate keys are super keys without redundant attributes, primary keys uniquely identify rows in a table, foreign keys link tables by pointing to a primary key, and composite keys use more than one attribute to uniquely identify rows.