It’s just like a dual boot but slightly faster. You also don’t need to worry about having two drives, messing around with partitions or having Windows overwrite your boot loader.
As you pass your GPU to the VM, Linux can’t use it anymore so all you see on your screen is the VM. When you start and shutdown the VM, a script runs to prepare the VM to boot or to hand over the GPU back to the host.