Switching operation is performed by an electromagnetic relay and it has three terminals in it NC (Normally connect), NO (Normally Open) and Common to connect the AC/DC load.
The module runs on an external 12 volt supply as it's not inbuilt in the module.