You can use boot camp to dual boot. VMware fusion in macOS will even let you boot up your other OS partition as a VM from within macOS. I used to do this with windows and macOS, which was great for installing and managing steam games before booting into windows to play them.