How does sleep affect brain health?

How does sleep affect brain health?