This is not really accurate. If you're a typical employee, IRS has a pretty good idea of your income, which is just one of the many factors that goes into calculating your tax.
In particular, the IRS doesn't independently know most of the things that could cause you to get tax deductions, like whether you got married since last year, or you moved out of your parents' house and started living on your own, or you're taking care of a child, or you had self-employment expenses, or you bought textbooks for your college classes, or you donated to charity, or you paid expensive medical bills, etc.