Like almost every system in Destiny 2, Bungie doesn’t explain Masterworks very well.
In addition to a cool gold border and a kill tracker, Masterwork gear offers a range of goodies: Extra orbs, specific stat increases, and more. Masterwork gear adds a lot to Destiny 2‘s endgame, allowing you to boost the stats of a weapon past its power level with enough resources.