Yes Mohammad,
Martin has the solution right there
The theory behind it you can find in the course: Fundamentals of Compositing
And if you need check also the course: Moving from Blender 2.7 to 2.8
and especially chapter 4. Render Layers vs. View Layers
View Layer Outliner Toggles