What gives commodity money its value?

What gives commodity money its value?