Payroll is an accounting function because it involves posting money into general ledger, computing benefits, deductions, and a myriad of other accounting functions.