Step 1: A rollback undoes all the changes a transaction made and restores the database to the state it had before the transaction started.
Step 2: This preserves atomicity: either all of a transaction's work is applied, or none of it is.
Step 3: Since every partial change is reversed, the net effect is that the database remains unchanged by that transaction.