Switch is a device that either opens (stops) or closes (completes) an electrical circuit to control the flow of electricity, thereby turning an electronic device or appliance on or off. Its purpose is to provide a manual or automatic way to interrupt or permit the current to reach its destination, allowing for the safe and efficient operation and management of electrical energy in various applications, from household light bulbs to complex industrial machinery.