Primary key is an unique key which is used to identify the records uniquely. It is also called indexed key.
When a primary key of one table becomes the key of another table then it is called the foreign key of that table. It is also called reference key.
When we create primary key in more than one column then it is called composite key
When a primary key of one table becomes the key of another table then it is called the foreign key of that table. It is also called reference key.
When we create primary key in more than one column then it is called composite key