The barcode represents the item lookup code.  When a barcode is scanned it is entered into store operations exactly as if you type it in on the keyboard.  

The scanner itself is setup to add a carriage return character (effectively the Enter key) so the system is ready to receive the next item.  When the item is scanned the system pulls up the item details from the database, but this information is not encoded into the barcode itself.