Investment is defined as addition to the stock of capital. It is a flow variable that increases the capital stock (a stock variable) of a firm or economy. Variable refers to any economic quantity, stock is the total accumulated capital, and production refers to output generated.