2022 Developer Survey is open! Take survey.

Render layers are used to separate pieces of a scene for rendering. Those layers can then be treated differently in the compositor.

Render layers on the blender wiki.