Dogs and people have more in common than you might think