How does the French secondary education system work?

The French secondary education system is divided into primary, secondary, and higher education which follow a curriculum devised by the French Ministry of National Education.