Let's break this down!
Pigs are mammals in the family Suidae.
Cats are mammals in the family Felidae.
Rats are rodents in the family Muridae.
Dogs are mammals in the family Canidae.
Aardvarks are mammals in the order Pholidota.
While all these animals are mammals, they belong to different taxonomic families and orders. This means their biology is quite different!
Here is a simple comparison:
Pigs: Have hooves, are omnivores, and are social animals.
Cats: Have claws, are carnivores, and are often solitary.
Rats: Have sharp teeth, are omnivores, and are very social.
Dogs: Have paws, are carnivores, and are highly social.
Aardvarks: Have claws, are insectivores, and are solitary.
So, the biology of a pig is not part cat, rat, dog, or aardvark. It's its own unique combination of features!