Why do mushrooms cause hallucinations?

Mushrooms can cause hallucinations because some varieties contain a natural chemical called psilocybin. It affects the brain and changes how a person sees, hears and experiences things. The chemical is also believed to be an evolutionary mechanism that helps protect mushrooms from animals. Common edible varieties, such as button, oyster and shiitake mushrooms, do not cause these effects.