Precisely Interview Question

How do you differentiate primary key and foreign key?