What is a SKU, and how is it different from a barcode?

A SKU (stock-keeping unit) is a code a business gives each distinct product it stocks, including every size and colour, so it can count and reorder it. A barcode is a scannable number, usually the manufacturer's EAN or UPC, printed on the pack. A POS links them: scanning the barcode finds the SKU, and the sale reduces that SKU's stock.