BTW, Caffeine is also a naturally occurring insecticide, yet humans tend to repurpose and hack things.
It's even weirder than that. It turns out that at very low concentrations caffeine seems to have similar effects on insect neurology as it does on ours. There are some plant species whose flowers produce caffeinated nectar. Bees seem to like these flowers preferentially, and have an easier time remembering where they are. (Yes, bees get buzzed.)
There are some flowers which produce tiny amounts of caffeine in their nectar, apparently to give the pollinators a buzz.
Love me some Capsaicin, even though I’m not supposed too (I guess)
Capsaicin as well
And birds are immune to it
Some argue that THC in cannabis actually works similarly because when herbivores regularly ingest it, they become lethargic and lazy, causing them struggle to survive in the world. Kinda like my roommate.