You are right, it’s worth to understand the difference, described for example here:
https://wiki.archlinux.org/title/Su