What is a Transaction?
A transaction is an event which happens on the database. Generally a transaction reads a value from the database or writes a value to the database. If you have any method of Operating Systems, then we can say that a transaction is analogous to processes.