Research has shown that dogs can detect stress-related changes in a human's body, even when a person is trying to hide it.