The purity of gold is measured in carat weight. The term "carat" comes from "carob seed," which was standard for weighing small quantities in the Middle East. Carats were the fruit of the leguminous carob tree, every single pod of which weighs 1/5 of a gram (200 mg).
(source)