Attribute closure is a data integrity constraint that ensures logical consistency in databases by guaranteeing that any combination of attributes (columns) can be used to uniquely identify a record.