Psychedelic mushrooms. (Credit: robtek/Shutterstock) By now, it's pretty clear that psilocybin, the active compound in "magic mushrooms" has a potent effect on human beings. But psychedelic visions obviously weren't the evolutionary force that caused some fungi to make the compound — it's an unforeseen side effect. With a new genetic analysis, researchers think they've identified why magic mushrooms started producing "magic" in the first place. The culprit, they say, is insects.