The barbell upright row is primarily used to develop the shoulders and upper back, particularly the lateral deltoids and upper trapezius.
It can be a useful accessory movement when your goal is building more shoulder width, upper-back thickness, and strength through the shoulder-girdle muscles.