Dayforce interview question

What is a foreign key and what does it do?