Transaction processing systems perform a number of functions.
What are these functions? A lot of them?
No, not much.
Link all successive operations to each other.
Ensure successful completion of operations (record them in the database) or, in case of at least one error, rollback the entire transaction.
They guarantee the cancellation of all pending operations at the time of a software or hardware failure with an incorrect completion (hang) of the transaction.