Studies show that dreaming can alleviate depression, although nightmares can cause it. Dreaming seems to be a tool that is misunderstood.