Transactions allow us to guarantee that a set of operations will succeed or fail as a unit. This is different than the behavior of batchWrite and batchGet. Transactions also enable us to use more of the DynamoDB API, such as Update and ConditionCheck.