Here is a good article from The Plummet Onions that explains how feedback is used in music.
We all know about feedback: it’s the ear-splitting high-pitched screech that sometimes happens when someone’s using a microphone. Usually it’s not wanted by the speaker or performer, although since the Beatles and Jimi many have used it as an effect. But what is it, really?
It’s worth a read.