In ancient times, gold was purified through various processes, including using clay moulds to shape the gold into different forms. Over time, the purification process improved, leading to the standardization of gold bar weights in the 18th century.