Payroll and human resources are two very important departments in a business that have important responsibilities in any business. Payroll is sometimes confused with HR. The HR handles hiring, setting compensation, and providing incentives to staff members, whereas payroll calculates the salaries, implements all deductibles, etc., and then disburses to the employees.
https://paysquare.com/payroll-vs-hr-comparing-their-roles-functions-and-connections/