What is a transaction? In the context of databases and data storage systems, a transaction is any operation that is treated as a single unit of work, which either completes fully or does not complete at all, and leaves the storage system in a consistent state.
![ACID Transactions](https://codeyz.com/wp-content/uploads/2022/06/1_i9rfh3wj03r.png)