What am I?

I am a tale in childrens' minds. Though an illusion, I occur every night. I give them a fantasy, I give them a fright. What am I?