How would you compare two text files to see what differences are between them? It’s still a common task, for which FileMerge and BBEdit can be excellent solutions.
diff
Tools to take two (or more) documents, work out the differences between them, reveal those in a manner which allows their review, and allow you to apply selected changes found in one document to the other.