One of the most difficult things to mask in Photoshop is a tree. All those tiny branches and leaves make it obscenely difficult to remove the sky in the background, to say the least. Phong has a great little tutorial on masking a tree in a photo when there is a sky background. The tutorial will demonstrate how to extract a clean mask from the tree photo, using channels and levels.