Here's a good review that came out not too long ago:
>Specifically, newer findings characterize sleep as a brain state optimizing memory consolidation, in opposition to the waking brain being optimized for encoding of memories.
https://pdfs.semanticscholar.org/9ac5/c749244b9e2509a670a816... [pdf]