Psilocybin is a naturally occurring psychedelic compound found in certain species of mushrooms, often referred to as "magic mushrooms." When ingested, psilocybin is converted in the body to psilocin, which affects serotonin receptors in the brain, leading to altered perception, mood, and cognition.