A foreign key is an attribute of a relation (subordinate/dependent) that points to the primary key of another relation (main/master) FK is used to create a many-to-one (one-to-many) relationship.