User groups are created under Setup > System to assign them to tasks in workflows. In the settings of the respective user, one or more groups can be selected under "User details". The user is then a member of the relevant group(s):