Addictivetips published a tutorial about how to pin an app to virtual desktops on macOS.
How to pin an app to virtual desktops on macOS
Virtual Desktops on macOS are excellent for multi-tasking; they're easy to switch between and they allow you to segregate apps.
How to pin an app to virtual desktops on macOS