Withholding tax is tax collected at the source, before money reaches you. Here is why it is a prepayment of your income tax bill, not an extra tax on top of it.

Withholding tax is tax collected at the source, before the money reaches you. When you earn wages, your employer holds back part of each payment and sends it to the tax authority in your name. You never handle that money, yet it counts as tax you have paid.
Employers are the most familiar collectors, but they are not the only ones. Companies and banks may also withhold tax on payments such as dividends, taking the tax out of the payment before the rest is passed on to you.
Because the tax leaves before the wage arrives, most employees experience tax as something that simply happens inside their pay. The amount held back follows the rules and information the employer has, which is why it is an estimate rather than an exact settlement.
The most common misunderstanding is to treat withholding as a second tax sitting on top of income tax. It is not extra. Withholding is a prepayment of the same income tax bill, made in pieces through the year and credited to you when your return is filed.
Your return works out the final bill on your real income. The withholding you already paid is then set against that bill. If more was withheld than the bill comes to, the difference comes back to you as a refund. If less was withheld, you pay the rest.
Seen this way, a refund is not a gift and a final payment is not a penalty. Both are just the settling of an estimate that was made, payslip by payslip, before anyone knew the year's real numbers.
The system exists so that tax is collected steadily through the year instead of arriving as one painful sum after the year ends. For governments, the money flows in evenly. For workers, the cost of the year is spread across every payslip rather than saved up into a single shock.
It also means your payslip is a tax document, not just a pay record. The withheld figures on it are the credits your return will claim, which is why keeping payslips, and checking them, is part of staying on top of your tax.
The same idea appears in many countries under different names, but the heart of it never changes: collect a little at a time, credit every payment to the taxpayer, and settle the difference at the end.
The United States calculator works out the final bill that withholding is paying towards. Open the calculator.