The grouping function allows you to schematically organize the devices as they are connected to the electrical groups in your building as shown in the first figure.
You can compare this with the single-wire diagram of your building. Can be seen in the other figure.