In database management, a transaction can be described as a unit of logic or work. This unit of work is needed to be executed in a consistent manner independent of other transactions.
A transaction could be made up of multiple statements. A transaction provides some consistency features such as rollbacks on query failure.
Transaction enforces ACID. ACID stands for: