Each sculpt layer also has its own mask channel which can be painted to add or remove layer details. The Mask feature lets you hide sculpting by painting opacity values in the areas you don’t want to appear. Sculpting on other layers is unaffected.
Painting a mask lets you make edits to the sculpting on a layer that can easily be reversed if necessary.
The sculpting in the masked regions is removed or reduced depending on the properties that you set for the Mask tool.