Pig farming or pork farming or hog farming is the raising and breeding of domestic pigs as livestock, and is a branch of animal husbandry. Pigs are farmed principally for food (e.g. pork: bacon, ham, gammon) and skins.
Pigs are amenable to many different styles of farming: intensive commercial units, commercial free range enterprises, or extensive farming (being allowed to wander around a village, town or city, or tethered in a simple shelter or kept in a pen outside the owner's house). Historically, farm pigs were kept in small numbers and were closely associated with the residence of the owner, or in the same village or town. They were valued as a source of meat and fat, and for their ability to convert inedible food into meat and manure, and were often fed household food waste when kept on a homestead. Pigs have been farmed to dispose of municipal garbage on a large scale.