A transaction is a sequence of operations performed as a single logical unit of work, ensuring data integrity and consistency in a database system. Transactions are essential for maintaining the ACID properties—Atomicity, Consistency, Isolation, and Durability—especially in relational databases. Understanding how transactions work helps to compare SQL databases, which prioritize strong transactional support, with NoSQL databases that may offer varying levels of transactional capabilities.
congrats on reading the definition of Transaction. now let's actually learn it.