It used in a relation database like SQL as a unique identifier for a table in the database. Example school database has a students table which contains a { student_pk, name, gpa} columns with student_pk/student_id being the primary key that other tables can reference the table by.