Medpace Interview Question

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