How the Comparison Works
The tool splits both texts into lines and works out which lines they share, in order. Lines found only in the original are marked as removed with a minus sign, and lines found only in the changed text are marked as added with a plus sign. Every line keeps the line number it has in its own text.
When a removed line and an added line take each other's place, they are treated as one changed line and the words that differ are highlighted inside it. That makes a small edit in a long sentence easy to spot.