Pigs are passive mobs that drop raw porkchops when killed. They spawn in broad daylight in groups of 3 to 4 pigs and can be kept and bred. Like all breedable mobs, they follow a player around when that player is carrying wheat.
A player can ride a pig by holding a saddle and right clicking on the pig. But the pig’s movement cannot be controlled by the player.