A barcode is data that has been encoded so that it can only be read when scanned by a barcode reader. Warehouses use barcodes to identify items reliably.