Everyday experience and psychology research both indicate that paying close attention to one thing can keep you from noticing something else.
Sleep remains one of the big mysteries in biology. All animals sleep, and people who are deprived of sleep suffer physically, emotionally and intellectually. But nobody knows how sleep restores the brain.