Barcodes are a sequence of alternating black and white lines that are used to identify products and items sold at a store uniquely. They are used to access product-related data from the inventory database like name, price, manufacturer, and more. The barcode scanners read these barcodes.