Black pepper is produced from the still-green unripe berries of the pepper plant. The berries are cooked briefly in hot water, both to clean them and to prepare them
The heat ruptures cell walls in the pepper, speeding the work of browning enzymes during drying. The berries are dried in the sun or by machine for several days, during which the pepper around the seed shrinks and darkens into a thin, wrinkled black layer. Once dried, the spice is called black peppercorn.