😵💫 hypnagogic and hypnopompic hallucinations are both sleep-related hallucinations. Hypnagogic hallucinations happen as you’re falling asleep and hypnopompic hallucinations happen as you’re waking up. Both types aren’t usually a cause for concern.
https://my.clevelandclinic.org/health/articles/23234-hypnagogic-hallucinations