Defense is a skill trained using melee. The higher your defense level is, the less you will take damage and the better armor you can wear.
Please see this page for more information.
The following armor should be worn depending on your defense level:
1 - 40 : Iron
40 - 60 : Rune
60 - 70 : Dragon
70+ : Barrows