It is more difficult to scratch iron than wood so metals are harder than wood. A material can scratch substances softer than itsell, but cannot scratch harder than itself.
Diamond, a form of carbon, is the hardest substance known, whereas graphite, another form of carbon, is a soft substance.