Some cells in the brain don't work when awake, but when people fall asleep, these cells are "practicing" their own functions, so dreams are formed. Dreams give people painful or pleasant memories. Dreams exercise the function of the brain. Dreams can sometimes lead you to change your life, and can also partially solve the conflicts when you are awake, making your life more fulfilling.