The first button will allow you to undo a change you just made. (You can also use the Ctrl + Z shortcut.)
The second button will allow you to redo a change you have just undone. (You can also use the Ctrl + Y shortcut.)
These serve the same function as the undo/redo commands in common text editors such as Microsoft Word.