A QR code, short for "Quick Response code," is a two-dimensional barcode that consists of a pattern of black squares and white spaces. QR codes were first developed in Japan in the 1990s and have become widely used for various purposes due to their ability to store a significant amount of information and their ease of scanning.