The switch activates and deactivates the load (blue led). The first button (red button) has a safety rule, if you press it, the load will be deactivated and the red led will be on. The second button (green button) is a reset. The system starts in a "safety" state.
The initial state is set by the OR gate (after the first reset, it changed its output).