How does the U.S. tax code treat various types of income, such as wages, capital gains, and dividends?