Sleep paralysis occurs in a transition time and the person is in a dream-like state, hallucinations can occur just before falling asleep (hynogogic hallucination) or just after (hypnopompic hallucination).