Derived Tax Revenue - exchange transaction?

I'm going through govt accounting in Becker and they mention: Derived Tax Revenue – tax imposed on or derived from exchange transaction such as commercial sales (sales tax), taxpayer income (income taxes), etc I don't understand the concept of exchange transaction here. How is sales and income tax considered an exchange transaction? This is the govt collecting money without any exchange occurring.