Why is gold valuable?

This is weird because most of our worlds economy's are based on some useless metal,or clear rock.
Gold hasn't been the basis of the world's economy for almost 100 years...