macOS best practice: Creating a user to sandbox your music environment?

I’m confused. Are MacOS Spaces a true sandboxing feacture (i.e. virtual environments or even virtual machines) or is it just different views on the same system?