Line-by-line alignment
The tool splits each input into lines and aligns them so that corresponding lines are shown side by side. It then marks lines that appear in only one side as insertions or deletions, and lines that match with minor changes as substitutions. The result is a side-by-side view with added and removed lines highlighted in distinct colors, so you can scan the differences at a glance.