The QR code is a 2D barcode that stores data in the form of strings. A barcode is a one-dimensional bar code.