Not completely accurate - you’re required to pay tax on side jobs under $600 for instance, but neither you nor the IRS get a 1099 tax form for it. Reporting it is on the honor system. Cash tips are supposed to be taxed but rely on self reporting since the IRS has no idea who handed you money, etc.
There are also many deductions and credits that the IRS does not know about unless you self report and claim them.