iPhone and iPad
Open Settings → General → About. The product name is shown there. At Model Number, iOS or iPadOS may initially show a part number; tap it to reveal the A-number. That A-number is especially useful for identifying the exact regional model.