Database consistency ensures that a database remains in a valid state before and after a transaction, maintaining all defined rules and constraints. It is a crucial aspect of the ACID properties, which guarantee reliable processing of database transactions.