Pergunta de entrevista da empresa Oklahoma Turnpike Authority

What is the difference between a primary key and a foreign key? What are the advantages of using these?