That’s a great question. It’s called the All-seeing eye, and it has an interesting history.
I wrote a topic about it because I had the same question for a long time. You can read more about it here:
Regarding witchcraft specifically, it depends on the tradition. Witchcraft is not a monolithic practice but rather it varies depending on the culture of the practitioner, so the answer is that it depends.