While an adjustment layer is active, by painting, erasing, filling, etc. you edit the layer mask. By painting with white color you reveal underlying image to the adjustment effect; by painting with black color, you hide the underlying image from the adjustment effect.
For more details on masking read Skills.

10 Random Photoshop Basics :
10 Random TutorialKit Materials:













More Photoshop: