The term "carat" is used specifically for measuring the weight of diamonds and other gemstones. One carat is equal to 0.2 grams.
The term "karat" is used to measure the purity of gold. 24-karat gold is pure gold, while 18-karat gold is 18 parts gold and 6 parts other metals.