Two-dimensional (2D) barcodes are complex, matrix-style codes that store data in both horizontal and vertical dimensions, allowing them to hold significantly more information than traditional one-dimensional barcodes. Common types of 2D barcodes include QR codes and Data Matrix codes.