as you're lying in bed a week the back of the brain is the first part of the brain that really starts to settle down it goes into what we call alpha rhythm when you close your eyes... that part of the brain essentially stops processing the outside world and it goes into its sort of default state when it's a wake of slowed frequency it drops down from maybe 50 times per second down to about let's say 10 cycles per second