A barcode, consisting of bars and spaces, is a machine-readable representation of numerals and characters.