The collecting entity receives the cash and then transfers it to the General Fund, trust fund, or special fund on whose behalf it was collected.
The General fund consists of a pool of money.
The general fund doesn't help the government.