The brain does not "stop working" during sleep. As you fall asleep, your brain progresses through several stages. During the "deepest" stage, REM sleep, your brain shows activity that is very similar to the sort of activity that occurs during wakefulness. So no, your brain does not stop...