ACID rule for transaction:
Atomic: it is one unit of work and doesnot dependent on previous and following transactions
Consistent: data is either commited or roll back, no "in-between" case where something has been updated and something hasn't
Isolated: no transaction sees the intermediate resules of the current transaction
Durable: the values persist if the data had been committed even if the system crashes right after.