The W-2 form includes details about an employee's earnings, federal and state income tax withheld, and any taxes paid to the Social Security and Medicare programs.