The labrum is a cup-shaped rim of cartilage that lines and reinforces the ball-and-socket joint of the shoulder.