Put two windows side by side: Windows logo key+arrows and Snap layouts (Windows logo key+Z) in Windows 11, the green button and Fn+Control on a Mac.
When you write while reading a source, compare two files or take notes during a video call, placing windows side by side is much faster than switching back and forth.