With respect to memory, sleep plays a critical role in many ways. First, you need sleep to pay attention. If you don’t get enough sleep tonight, your frontal cortex is going to be dragging itself to its desk job in the morning, and your ability to concentrate is going to be sluggish.