A fuse works by using a thin wire with a low melting point. When excessive current flows through the fuse, the wire heats up due to the heating effect and melts, breaking the circuit and preventing damage to appliances.