Data can be represented visually and machine-readable with a barcode. A scanner is essentially used to enter data electronically. A barcode usually contains some kind of data, such as a lot number, shipment number, or purchase order number. As the data is scanned, the user can access and view it, as well as take action on it.