Wolves are the closest relatives to dogs. They have a common ancestor. Some of the common ancestor were taken in by early humans and domesticated. Over selective breading and a long time, the domesticated creature became all the different types of dogs that we know today.
Comments