How to use the Quick Mask Tool
Here's how you can use it.
I picked a random landscape image from Google to work on.
Let's say you want to remove the sky to add a dramatic, cloudy one. How do you select it?
Go to Select > Color range. Click the sky, hold the SHIFT key and click also on the clouds.
Adjust the Fuzziness a bit to make the selection more precise. Hit OK.
Notice that Color range does not make a perfect selection and you need to tweak it a bit.
Enter Quick Mask (Q), grab the Brush Tool (B) and paint over the areas that are not covered with red.
Use the Eraser Tool (E) and erase the red areas on the clouds and sky. Exit Quick Mask (Q).
Now the selection is more clean.
Select the Rectangular Marquee Tool (M), right-click inside the selection and click "Layer via Copy".
You can use this as a clipping mask for the sky you want to add later.
Here's how the image looks without the sky.
This technique is useful for high quality images and works better if the image has high contrasts.