Compulsory education laws require children to attend a public or state-accredited private school for a certain period of time. There are certain exceptions, most notably homeschooling, but virtually all states have mandates for when children must begin school and how old they must be before dropping out.