What gives the U.S. government the right to collect taxes?

1 answer

we the people, through the US Constitution.

Article I, Sections 2 and 8
Also the 16th amendment