Children are precious gifts from Allah (swt) and parents have been given the responsibility to make sure that they are educated according to Islam. If the parents of a child bring him up in righteousness, he will live happily in this world and the next and the parents will be rewarded by Allah for their good deed. But, if the parents neglect the child's upbringing and education, he will lead a life of unhappiness in both worlds and the parents will be punished by Allah (swt) for their neglect.
By attending Madrasa on a regular basis, children are taught how to read the Holy Qur'an at an early age so that they develop love for it when they are older. Such children also receive the basic guidance to be a good Muslim. This includes the basics of cleanliness, good morals, good manners and basic knowledge relating to beliefs.