Wells Fargo interview question

Explain Rollback and Commit in SQL