what is an economic system in which money is invested to make a profit