What does it mean when someone calls someone else a dog?

They are saying the person is no better than a dog or has the characteristics of a dog (aka always fetching things for you).