Undo is a command in many computer programs that erases the last change done to the document, reverting it to an older state. In more advanced programs, undo will revert to the last state of the file, which may be fixed to a number of changes ago, or when the file was opened. It’s like having a time machine for your documents, allowing you to go back and correct mistakes.