Answer: They actually play 6 roles.
Explanation: Government (1) creates the legal and social framework within which the economy operates, (2) maintains competition in markets, (3) provides public goods and services, (4) redistributes income, (5) adjusts for externalities, and (6) ) implements some measures to improve the economy for stabilization.
I hope this will help you :)