Dogs were the first species to be domesticated and have been bred for many different jobs throughout history.
I've heard a decent amount about that, didn't early humans see them eating from the carcasses of what we killed so we started to utilize them and domesticate them?
Well the closest living relative to the dog is the gray wolf, so it is highly likely that early humans domesticated them.