Transaction

noun /trænˈzækʃən/

A sequence of database operations treated as an atomic unit — either all succeed or all are rolled back. Transactions follow ACID properties.

"Wrapping the payment debit and inventory decrement in a transaction ensures they either both succeed or both fail — no partial updates."