sudo (superuser do) is utility in linux which control what can be executed by a non root user.
in production environment, root is disabled and we should use our own user to perform any task.
e..g As a elastic admin, i need to restart elasticsearch service, and that control we need to put in SUDO template so that we can control what all can be done with SUDO permission.