Groups work the same way they do for all plugins in Moodle. When the activity is assigned to be available to the people in a group it may look the same but it behaives differently for the users in those groups.
With BigBlueButtonBN the only difference is that the there will be a unique room per group, which means that the "Join" button will take users to a room linked to the group they belong (for most cases) or the one they choose to get in (depending of the settings for the course or that particular activity) .
Groups can be configured as "Separate groups" or "Visible groups".
This is the most restrictive option. It will normally show only the group the user has been assigned to.
It may also let users chose the room they want to get in, but from a list that shows only the groups they belong to.
Teachers will be always able to choose the room they want to join. But keep in mind that while "All participants" will lead the access to a general room (as if there were no groups), only the users who are not assigned to any of the groups will have access to that one.
Teachers may need to navigate between rooms to meet with the students who have joined each room.
This is a more permisive option. It will let users chose the room they want to get in from a list that shows all the groups available in the course.
See this article for a more general description of how groups work in Moodle