Accelya Group interview question

Explain rollback and commit