The difference between HR and Payroll depends on the business in question.
While most businesses consider payroll to be a sub-function of their HR department, many companies don’t have HR departments and thus Payroll sits separately.
Basically, Payroll is the function associated with actioning your employees’ remuneration packages in your agreed pay cycle. Whereas the wider HR function is responsible for a wealth of other areas like talent attraction and retention, employee benefits, employee training and development and much more.