How do you ladies get rest if you pop up and right down your dreams. I'm not being silly. I'm curious.

I picture everyone popping up a few times a night to keep track of what runs through your minds while you sleep. I have a hard enough time keeping track of what rund through my mind during the day.