Many people experience dreamlike images, sounds or sometimes smells before falling asleep or waking up. This is called "hypnagogic hallucinations". Although it is called "hallucination" it is not at all dangerous or a symptom of a dangerous disorder. But is can cause fear and be frightening. Usually there is no specific treatment for this problem.