What were the main issues leading up to the introduction of compulsory schooling in Victorian England

What were the main issues leading up to the introduction of compulsory schooling in Victorian England and the colonies? In what ways did schooling benefit children? Are there any ways that it did not benefit them?