In dbms use is the same, example :
You created a record - click undo -> record is deleted - click redo=> record is back
You created a record - click undo -> record is deleted - click redo=> record is back