sudo is a special command that you can use before any other command in the terminal to temporarily grant root privileges on that command.

Use extreme caution. The root user has total control. You can seriously damage your operating system if you don’t know what you are doing.