It is a sensor that notifies whether the switch is actioned. It is used to control the robot's movements in the event that you action the switch or that it is actioned by a foreign object. It also allows you to check whether the switch is positioned on ON or OFF.