In business and accounting, cost is the monetary value that has been spent by a company in order to produce something.
A cost function is a function of input prices and output quantity whose value is the cost of making that output given those input prices, often applied through the use of the cost curve by companies to minimize cost and maximize production efficiency.