lets say theres a big black dot in your image and you dont want it there, with the heal tool you can select that area, and it will remove the black dot without a trace (usually)
No its not an undo. Try opening a picture of a face with a pimple on it or something. And use the heal brush on the pimple, it should take it away.