Capgemini Interview Question

What is primary, foreign and reference key?