Pergunta de entrevista da empresa TeamViewer

What is a primary and a foreign key in a database?