Answer:
It is necessary because the government can make sure that people are not excluded from schools or hospitals in case they do not have enough income to pay.
If all schools and hospitals were privatized, and government involvement disappeared, it is likely that many people simply would not have enough money to pay for educational or healthcare service. This would leave them depending on charity like it used to happen in the early 20th century.