No, Tails isn't Sonic's pet. He's actually Sonic's loyal sidekick and best friend, always by his side on their adventures rather than being an animal Sonic keeps.