If an excess current passes through the electrical appliance, it gets damaged. So in order to prevent it from damage, a fuse is connected to the live wire. Thus if an excess current passes through the fuse, copper wire inside it melts and opens the circuit preventing the appliance from damage.