There are four categories of damage: Normal, Piercing, Elemental, and Shadow. Think of them like Rock, paper, scissors, except they can all defeat each other. That is what's in the weapons. In the armor, you can have resistances against rock, paper, and scissors. They don't interact with each other, but rather the resistance against them or the lack of resistance.
For a more thorough explanation: http://wiki.spiralknights.com/Damage