Is it the state’s role or the parents’ role to educate children? Or a combination of both?

Is it the state’s role or the parents’ role to educate children? Or a combination of both?