Databases and other data stores which treat the integrity of data as paramount often include the ability to handle transactions to maintain the integrity of data.
Examples from double-entry accounting systems often illustrate the concept of transactions.