When a file is overwritten, it means that the data in the original file is permanently replaced by new data. This can happen intentionally, such as when you save changes to an existing file, or accidentally, when you save a new file with the same name as an existing one.