A grouping is a collection of groups within a course.
If a grouping is selected, then users assigned to groups within the grouping will be able to work together.
Group mode must be set to separate or visible groups.