Referential Integrity is a database concept which ensures that relationship between tables remain constant.
When one table has a foreign key to another table, the concept of referential integrity states that you may not add a record to the table that contains the foreign key unless there is a corresponding record in the linked table.
There are 3 rules:
2) Cascading delete
3) Cascading update