The revenues of the Federal government come primarily from personal income taxes. That of State and municipal governments from real estate and sales taxes.
The Internal Revenue Service (or I.R.S.) is the branch of the American government responsible for the collection of federal taxes. State and local governments have treasurer's offices for that purpose.