Government policy affects many aspects of people's lives and economics can help assess the effects of policy and distinguish good policy from bad. Government has four main roles in a market economy: to efficiently allocate resources, achieve an equitable distribution of income, protect property rights and consumers, and prevent unemployment and inflation. It has four tools to do this: revenue gathering through taxation and fees, spending through subsidies, purchases, and direct provision, regulation, and information provision. Any government provision should pass five tests: necessity, effectiveness, equity, efficiency, and being the best option compared to doing nothing.