* To make up failed grades: If a student fails a class during the regular school year, they may be required to attend summer school to retake the course.
* To improve grades: Some schools might recommend or require summer school for students who are struggling academically, even if they haven't failed a course.
* To accelerate learning: Gifted students might attend summer school to take advanced courses or move ahead in their studies.
* As a disciplinary measure: In rare cases, summer school might be used as a consequence for serious behavioral issues.
So while not mandatory for all children, summer school attendance can be required depending on individual student circumstances and school policies.