Adam Smith's theory of value analyzed what regulates exchange values and the elements that govern the exchange value of commodities. He distinguished between value in use, based on a good's utility, and value in exchange. While essential goods like water have value in use, they have no value in exchange. In contrast, diamonds have value in exchange but are not essential. Smith believed for a commodity to have value in exchange it must first have value in use, and it must also be relatively scarce. He argued that in a simple economy without other factors, the labor required to produce goods determines their relative values and rates of exchange. However, he acknowledged this does not hold when considering capital and land.