Under the structure of compulsory education, students in the United States are required to attend school until at least 16 years of age, which can be done at a variety of educational institutions, both public and private. Amongst public schools, students are each assigned a neighborhood school but also frequently have the option to attend a choice school. While the purpose of neighborhood schools is to provide a guaranteed educational option that accommodates most students, choice schools serve varied purposes that accommodate specific learning styles and societal goals. Four types of publicly funded choice schools are magnet, charter, alternative, and virtual schools. While each was established to serve a specific societal goal, their purposes have shifted over time and have produced varied student outcomes, both academic and non-academic.