A barcode is a machine-readable image that can be used to identify the object to which it is attached, and information about that object, such as its price, weight and the date it was created. I use my iPhone to scan the barcode on my textbook to see how much I can sell it for on Amazon.