Original: Dogs have been selectively bred for thousands of years, sometimes by inbreeding dogs from the same ancestral lines, sometimes by mixing dogs from very different lines.
Simplified: People have carefully bred dogs for thousands of years. Sometimes they inbreed dogs who have the same close ancestors, and sometimes they mix dogs from very different ancestors or even from different breeds.