It provides no damage resistance and is purely a cosmetic item - however, it is counted as a piece of lower headwear, which allows the user to equip any sort of upper headwear at the same time. It can be equipped by Dogmeat.