Keys are an important concept in relational databases.
They are primarily used to create relationships among the different tables in a database. Remember we did this?
A key is essentially an id, much like the one we illustrate above.
But if we assign a key constraint to a field, that field will automatically be populated with a unique integer every time we add a new record to a table.