Template:FoodPork is a food item that is obtained through killing Pigs. Pigs drop 0 to 2 pieces of pork when killed. Pork, like all food, does not stack in your inventory. Pork can be cooked via furnace into Grilled Pork which heals more hearts.
A safe, easy way to farm pigs is to have a well lit (at least light level 9) area of grass within your base or fort. Passive mobs spawn on grass and the light will allow pigs to spawn there during night hours if torches are placed properly.