It is possible to understand animals better through the use of a very very basic magic. It's not even that rare, most animal owners can do it to a sense and the more of that animal they've owned the better they get at it. The very first thing to realize though is that your dog is not human, if you want your dog to sit up and start talking then you're going to be there a very long time. Think like a dog. I usually get shot down by the canine world for this but hear me out. Dog's don't love, it's a completely different bond to them and that''s the first thing to understand, in a dogs head it's all about the pack, you're part of that pack and probably the leader thus you are the most important thing in that animals life, without you there is no pack and with no pack there is no food and no dog. This isn't to say that a relationship to a dog is built entirely on their dependance on you but their minds are just simply different from ours. Once you truly understand dog behavior you'll know what they're thinking and more importantly why they're thinking it.
Now most people will probably turn around and say that it isn't magic and in part they're right. The reality behind it is that it's a bond between animal and pet, you'll pick up on their emotions better and you'll their needs and wants but you'll never have a conversation with them like you would a human because they're simply not human. All it is is animal husbandry, a natural skill that's achieved through understanding the animals energy, you can sense there energy and that's where the magic comes in but even sensing it will tell you nothing unless you truly understand the animal. This is most easily achieved by simply spending time with the animal, training them works wonders as that forces you to get inside their head.