They provide comfort not just in death but also in other difficult times, whether it's depression, job loss or a move across country. Dogs know when people are dying or grieving, through body language cues, smells only they can detect and other ways not yet known, experts say.