Sometimes when I am falling asleep it seems like I start to dream immediately. Except I'm not sure if it's dreaming, or if it's just really weird thoughts because I am so tired.

Does anyone know about this? Dreaming while I'm falling asleep, waking briefly from it, and then falling asleep for good.