A profit function is a function that focuses on business applications. The primary purpose for a business is to sell a product or service in order to make a profit, which is the revenue a company receives for selling a product or service less the cost for creating a product or service.