A HISTORY OF DOGS & DOG BREEDS

Dogs were probably the first tame animals. They have accompanied humans for at least 20,000 years and possibly as many as 40,000. Scientists generally agree that all dogs, domestic and wild, share a common wolf ancestor; at some point, grey wolves and dogs went on their separate evolutionary ways. 

Today humans have bred hundreds of different domestic dog breeds—some of which could never survive in the wild. Despite their many shapes and sizes all domestic dogs, from Newfoundlands to pugs, are members of the same species—Canis familiaris. Although they have domestic temperaments dogs are related to wolves, foxes, and jackals. 

Source: 
https://www.nationalgeographic.com/animals/mammals/d/domestic-dog/