It doesn't avoid taxes.
{A traditional C Corporation is treated as a separate legal entity by the
U.S. Internal Revenue Services (IRS). The business is charged corporate income tax for profits earned. The shareholders are liable to pay personal income tax on income earned from the company, i.e. profits earned in the form of dividends. This practice is often termed as “double taxation.” Certain fringe benefits provided for employee welfare such as healthcare and life insurance are deductible from corporate profits, which helps reduce the corporation’s tax burden.}
Note that when the Fascists howl about "corporations as people" that it was THEY who created this (in 1860) in order to apply INCOME TAX to them as if they were a persorn.
{Conversely, an S corporation does not get charged at the corporate level. All gains accrued by the business are attributed to the owners, who are then charged personal income tax. It resembles the model of a sole proprietorship or a partnership. An S corporation is not permitted to deduct the cost of fringe benefits offered, which means that they add to the
taxable income of all shareholders holding more than 2% of stock.}
Hence, an S corp in no way avoids taxation, and in fact often pays more if there are employee benefits, depreciable fixed assets and other corporate deductions which are not available to individuals in pass-through taxation.
Potential or existing business owners often face the choice of setting up either as a C Corp vs S Corp when starting a new business or changing their
corporatefinanceinstitute.com