A "line function" is one that directly advances an organization in its core work. This always includes production and sales, and sometimes also marketing. A "staff function" supports the organization with specialized advisory and support functions.
Staff and line - Wikipedia