How do government generate revenue?

Governments can only generate revenue in three ways, usually a combination of the following three; 1) taxation, 2) borrowing (selling treasuries), 3) printing currency