Pets provide many benefits to humans. They comfort us and they give us companionship. However, some animals can also pass diseases to people. The dog is derived from an ancient, extinct wolf, and the modern wolf is the dog's nearest living relative. The dog was the first species to be domesticated, by hunter-gatherers over 15,000 years ago, before the development of agriculture.