Complex sentence: Junction boxes form an integral part of a circuit protection system where circuit integrity has to be provided, as for emergency lighting or emergency power lines, or the wiring between a nuclear reactor and a control room.
Split into simpler sentences: Junction boxes form an integral part of a circuit protection system. In the event circuit integrity has to be provided, as may be necessary for emergency lighting or emergency power lines, or the wiring between a nuclear reactor and a control room.