In a Capitalist economy, the government provides some public goods and services and pays for it through taxation.
Why?
If a business does not have an incentive to produce a good/service, those goods/services will not be provided to the people.The
government ensures the good/service is provided.
To ensure the fair allocation of resources so that businesses and people have equal access to all materials.
To ensure no businesses have opportunity costs
If they do not provide these services, the government cannot justify taxing people