There are cases where you are working on a large project with a lot of layers. Even though you may have them organized in groups and the layers panel is organized, the canvas will have all the items still there. In this case, you can hide the groups so that it is easier to work without the other items visible, when you are ready for the invisible ones, you can enable the visibility.