Gold was previously used as and in currencies. It also served as scarcity control for paper money (until abolished). To a lesser extent gold can act as money even today.
Nowadays it is also used in industrial purposes and as decoration.
Gold certainly isn't only a store of value.
Are people buying gold "greater fools"?
If so, why?