Many people have vivid dreams shortly before death. Research suggests the dreams are not a sign of confusion — but may help both the dying and their loved ones make sense of loss.