What Happens in a Transaction?