What is the difference between a weight and a piece allowance?

Most airlines offer a weight allowance (eg 23kgs), but some have a piece (PC) system. The weight of each "piece" varies amongst airlines, so please consult the airline website for confirmation.