Linux is a multi-user system: each account has an identifier (UID) and belongs to one or more groups (GID). Permissions on files and processes depend on these identities. The useradd, usermod and groupadd commands manage accounts and groups; id displays the current identity.
Example
id
sudo usermod -aG docker alice