The eight different species of pigs live in Europe, Africa and Asia. As of 2014, the domestic species of pig is found worldwide both as a farmed animal and as a feral animal. Wild and feral pigs can live in almost any habitat, including tundra, forests and swamps.
Pigs prefer wet habitats but can survive in arid regions. They can adapt to almost any climate and eat almost anything. Feral pigs mostly eat vegetation, nuts and fruits but also eat small mammals, eggs, birds and reptiles. The domestic pig is descended from the wild boar, which is native to Europe, North Africa and temperate parts of Asia.