- Click on the course > Actions > More > Course Administration > Users > Groups
User case (how I understand it)
Let's say you have Students in year 2019 (cohort). Those students are attending same course, but half of them have to do special assignments and you create two groups.
More about this: https://docs.moodle.org/23/en/Groups