A dog breed is a group of dogs that have very similar or nearly identical characteristics of appearance or behavior or, usually, both, primarily because they come from a select set of ancestors who had the same characteristics. Dogs have been selectively bred for specific characteristics for thousands of years. Initially the selections would have centered on domestication and useful behavior such as hunting ability. Later, dogs were also selected for attractive and distinctive forms, resulting in a vast variety of types.