hey everyone!

this question has bugged me for year:
Sometimes when i am going to sleep at night, i have these 5-second dream (havent had one for quite awhile). In the dream I am doing something strange like rolling on a log, then trip, and then my real body jumps as if startled and i am awake. What is this? i have had the same experience multiple times, but not the exact same dream.