A firm is an institution that hires factors of production to produce and sell goods and services. A firm's goal is to maximize profit in order to survive. Accountants measure accounting profit to calculate taxes and show investors returns, while economists measure economic profit to predict firm decisions and maximize opportunities. A firm's opportunity costs include resources bought, owned, and supplied by owners.