What does RPA have to do with HCM and Payroll?

What does RPA have to do with HCM and Payroll?