Wipro interview question

difference between foriegn key and primary key