Form W-2 provides information on your total earnings and the taxes withheld during the year. This information helps determine your overall tax liability when you file your federal tax return. It shows whether you owe additional taxes or are entitled to a refund.