Craft

Some NPCs have the ability to craft something for you. That means that they exchange some combination of crafting materials, rare crafting materials, and gold for armor, weapons, or rare crafting materials.