The Magic Wand tool is a selection tool. It allows you to quickly select areas of your images and make independent edits to it. It's most used often to select solid backgrounds and color areas. It doesn't work as well, for example, on an image with a distinct gradient or blurry features.