Here you will find types of keys in DBMS with examples.
All of them are important but primary keys are probably most important of all, because of its uniqueness it can identify all records in table. Also primary keys of one table has the potential to be a foreign key on another table, and this facilitates navigation between tables, impacts query performance when they are supported with indexes and promotes data integrity.