A QR code is essentially a bridge between a physical object and digital information. It does not “do” the function by itself; it stores data that a scanner (phone, handheld scanner, or industrial reader) interprets and then triggers an action.
A QR code can contain simple information, or it can be part of a much larger business system.