Pigs are classified as Artiodactyla, the order of even-toed ungulates. This means they are mammals with hooves and an even number of toes on each foot.
Here is why pigs are classified as Artiodactyla:
* Even number of toes: Pigs have four toes on each foot, but only the middle two touch the ground.
* Hooves: Pigs have hooves, which are modified toenails that support their weight and aid movement.
* Other characteristics: Pigs share some traits with other even-toed ungulates, though they are omnivores rather than strict herbivores and do not have the four-chambered stomach of ruminants.
So, the order Artiodactyla is based on the shared characteristics of even-toed hooves and other features pigs have in common with this group.