Medpace interview question

what the diffrence between primary and foreign key?