Capgemini interview question

Explain the difference between primary key and foreign key?