With this setting enabled, the user is able to see product code of the currently scanned product on the top of the POS display. By this way it is easier to follow the scanning process and be sure that the scanned product was scanned and added to the shopping cart with correct code.
To enable this, please navigate to POS Settings -> Configuration -> General -> Display Scanned Code During Scanning.