XP are experience points for your pet. You need XP to upgrade your pet. After that Foxy gives you more coins on raids, Tiger gives you more coins on attacks and Rhino protects your village from attacks more often!