a dog is a type of pet