Question: People selected dogs they wanted based on what two things?
Sentence: Most breeds of dog are at most a few hundred years old, having been artificially selected for particular morphologies and behaviors by people for specific functional roles.
Answer in sentence: yes