Wi-Fi state is an action node that can turn on and off Wi-Fi.
Wi-Fi connection is one of the major reasons of poor battery life on mobile devices so turning it off whenever possible can significantly improve uptime of the device.
Besides turning Wi-Fi on and off, the Wi-Fi state node also emits signals whenever Wi-Fi is turned on or off so it can be used also as as trigger.