A beginners\' question about foreign key in MySQL.
In w3school it says,
A FOREIGN KEY in one table points to a PRIMARY KEY in another table.<
The Foreign is used for referential integrity.
See An introduction to foreign keys and referential integrity in MySQL