It all depends on what kind of dream, theres lucid dreaming where you know you dreaming and you control your dreams, another type of dreaming is sleep paralysis where you can hardly breathe and you cant move or scream while some creature is watching you or even sitting on top of you. If your talking about a normal dream then its just your eyelids rapidly moving and your imagination creating an image.