Marketing is the function of business that brings customers to your door and culminates in some sort of sale.
Production is the function of business that deals with customers from the time of the first sale through the entire life of the relationship.
Accounting is the function of business that gathers data and information from all the different aspects of the business.