A primary key is a column or a set of columns in a relational database table that uniquely identifies each row (record) in that table. A primary key must have a unique value for each row and cannot contain null values. It is a fundamental concept for ensuring data integrity and is used to create relationships between different tables.