Capgemini Interview Question

Explain the difference between primary key and foreign key?