Near-field communication (NFC) uses QR codes for secure transactions, device pairing, information sharing, and access control.