It serves the exact same purpose that WSL does in Windows.
You can run any flavor of Linux you like in a virtual machine, while booted into the native OS.