This is the revision function in Word. Click [Review]-> [Revision]-> at the top; [Simple tag] [All tags] [Original] [Unmarked]. If you choose not marked, you can directly see what the teacher has modified.
To accept or reject the revision, you can click next to the revision to accept or reject it.