The live wire enters the switch first and then the exhaust fan, so that the switch can control the exhaust fan. When the exhaust fan is damaged, the switch can be closed to cut off the live wire, which is safer to operate. As shown in the figure below: