Assume you have a new country with no money. How does anything get done? The central bank needs to issue capital that the government then allocates first.
Eventually this money makes it down to the citizens of the country who spend it. Then the government can tax that money, and that gives it non-inflationary spending room to reallocate those resources.
For example, there’s a car company that’s using up most of the country’s steel supply. But the government wants to shift the country’s manufacturing from cars to other green industries. What the government can do is tax the car company so that it’s not able to use up as much steel, which frees up resources for other industries to utilize.
The same goes for people, since people are a country’s most important resource. Through taxation the government can influence the resource allocation of the country. That doesn’t mean that the government can’t spend without taxes though.
If you want to learn more there’s plenty of resources out there, you can start with Keynes, skip anything from chicago, move on to MMT for the latest theoretical thought.