Question about electromagnetic pulses. I was reading a book a while ago and it talked about an electromagnetic pulse being used to destroy electronics. I looked it up and apparently, an electromagnetic pulse is simply a burst of electromagnetic radiation. From what I understand, electromagnetic radiation is simply light (visible light, x-rays, gamma rays, microwaves, etc). So from what I understand, an electromagnetic pulse is kind of like the flash on a camera (except that it is probably a different wavelength than what a human can see and probably far more intense)? If so, how on earth does this wipe out electronic devices without also killing people or destroying non-electronic devices?
I understand that a solar flare or a nuclear bomb being detonated at high altitude can create an electromagnetic pulse (one knocked out a bunch of lights in Hawaii during the cold war back when the US tested a bomb a bit too close to the islands), and that modern electronic equipment would be much more vulnerable to an EMP than an older system, but how does an EMP destroy electronics in the first place? Thanks