A foreign key is a column that links one table to another by pointing to the primary key of a different table.