There is a psychological phenomena that often makes people think a demon is sitting on their chest and that they are awake, but cannot move.

I believe, if I remember correctly that it is a type of sleep where the brain wakes up in sections. I forget the exact explanation.