Primary Key: -
Foreign Key :
eg.For example, We have two tables student and Course.
Student table has STUID which is primary key of Student Table and Foreign key in COURSE table.
STUDENT TABLE
COURSE TABLE
A primary key is used to ensure data in the specific column is unique. It is a column cannot have NULL values.Where as a foreign key is a column or group of columns in a relational database table that provides a link between data in two tables.See this below link for full difference,
https://www.guru99.com/difference-between-primary-key-and-foreign-key.html
I can think of below three points:
Reference: Scaler Topics