Will installing mac os erase windows?

I just watched a video on how to install mac os big sur on a pc. The thing I don't really undstand is the storage. Will I still be able to boot into windows at any time? Do I have to have a physical storage device dedicated to mac os. Can someone please explain how this works?

submitted by /u/Grixy4
[link] [comments]