Referential integrity is a property of relational databases that ensures relationships between tables remain consistent, where foreign keys correctly reference primary keys. It prevents the creation of orphaned records and maintains data accuracy by enforcing constraints during data manipulation operations.