Business consultants have long advocated outsourcing non-core functions.
A non-core function is one that is not a profit center (meaning, you don’t charge customers for it). A non-core function may be essential but doesn’t differentiate your business strategically from competitors.
In most businesses, administrative and back-office activities such as payroll are non-core functions.
As such, they are potential candidates for outsourcing.