Pregunta de entrevista de Chevron

How foreign and primary key works in a dataset/database