1 Answers
Traditionally, a transaction is a sequence of writes. Imagine collecting a subtotal, calculating tax, reducing inventory. If one of these operations fails, you could leave your data in an awkward state. You would want a mechanism to "roll back" these operations.