Scrivener for macOS and Windows allows you to view (and edit) two documents right alongside one another. You might have your writing on one side and a photo or PDF document to which you need to refer on the other, or you might be checking a previous or later chapter right alongside the one you are currently writing.
Did I say “Scrivener for macOS and Windows”? Well, now we can add the iPad to this list.