A fuse is designed to protect electrical circuits from excessive current. When the current exceeds a predetermined safe level (due to overload or short circuit), the fuse wire heats up due to its resistance (I²R heating) and melts if it reaches its melting point. This melting breaks the circuit, interrupting the flow of current and protecting the appliance and wiring from damage or fire.