Sudo lets you run any terminal command as another user — hence "substitute user" — but the default and most common use for it ...
A Raspberry Pi multiboot lets you pick Raspberry Pi OS, Ubuntu, or MX Linux at startup without changing SD cards.