Concept

  • Transactions group multiple database operations so they all succeed or fail together, ensuring data integrity.

Example

  • A bank transfer where debiting one account and crediting another must both occur or neither does.

Source