what does halacha actually say about keeping pets

rabbi, a lot of frum people grow up with the sense that keeping pets is not something a frum house does, and then other families have dogs and cats and nobody says a word. so what does the Torah actually say? 1. is there any issue with keeping a pet at all? the gemara...