Magic mushrooms contain psilocybin, a psychedelic compound that affects serotonin receptors in the brain. This can lead to altered perceptions, enhanced sensory experiences, and changes in mood and cognition. Users may experience visual or auditory hallucinations, a sense of euphoria, and introspective insights.