Use Win + Ctrl + D (Windows) or Control + Up Arrow then + (Mac) to create a new, distraction-free desktop for a specific task, then toggle back to your main workspace.
If you use multiple virtual desktops, this shortcut lets you slide between them. macOS Shortcuts
If you have a dual-monitor setup and want to "throw" a window from the laptop screen to the top monitor: Windows + Shift + Left/Right Arrow .
Linux distributions often share similar logic with Windows but include specialized shortcuts for monitors.
Another way to toggle between screens on top is by using the taskbar.