Understand referential integrity and how it ensures data consistency.