Why your brain needs to be dreaming

Did you know that dreaming is a little like defragmenting your brain? You only have so much room for memory in your brain and you are like a little PacMan during the day, eating up events and storing them in your head. At the end of the day you sleep and your brain defrags your brain to make room for the things you need. It discards little things and consolidates the things you paid more attention to.