difference between primary key and foreign key

pre: priming psychology example
next: adjustable water flow regulator