Synechron interview question

primary key vs foreign key