The W-2 form is used by employers to report wages paid to employees and the taxes withheld from them to the IRS. It is also used to report other income, Social Security and Medicare taxes, and withholding allowances.