Psychedelic mushrooms are actually all mushrooms that have a consciousness-altering or hallucinogenic effect. There are a number of different types, each of which has its own effects.
The active substances in the truffles are psilocybin and psilocin. These substances allow the brain to make perceptions that are not there at all and thus change the experience of reality. Time, space, environment, feelings and observations are experienced differently.