animals are used as pets