Layers are used in all widget-based content to filter or restrict the content to a layer. A layer can be based on the user's authentication status, their role, their customer code and so forth.