The groups feature in Moodle allows teachers to assign students to one or more groups for the entire course or an individual activity.

Resources to get started

 
About Groupings
A grouping is a collection of groups within a course. Using groupings allows you to direct tasks at one or more groups in your course so that they can work together on the tasks.