Pergunta de entrevista da empresa Medpace

What is the purpose of a foreign key in an SQL database?