AnyRail layers let you show or hide different parts of your layout plan while you’re working on it, e.g. to hide scenery while working on track.
It’s up to you how to arrange them. A layer can contain all sorts of elements, on all heights. (Really, a layer is just an arbitrary group of elements.)
There is always one active layer. This layer is always visible. New elements are always added to the ative layer.