We've all been told to get a good night's sleep before a test -- finally, here's the reason why. Sleep scientist Matt Walker explains how getting enough sleep affects how our brains store and process memories. Sleeping with Science, a TED series, uncovers the facts and secrets behind our nightly slumber. (Made possible with the support of Beautyrest) Check out more: go.ted.com/sleepingwithscience and subscribe to the TED channel: www.youtube.com/TED