B. To make sure employees can pay their taxes
Companies are required to perform payroll withholding primarily to ensure that employees are setting aside the appropriate amount of money for their taxes, which includes federal, state, and local taxes. This helps to ensure compliance with tax laws and prevents employees from facing a large tax bill when they file their returns.