Payroll and human resources (HR) are two extremely distinct functions within a company. While payroll deals with the compensation of employees,…