Joule's law of heating:
The fuse is placed in series with the device. It consists of a piece of wire made of a metal or an alloy of appropriate melting point, for example aluminium, copper, iron, lead etc. If a current larger than the specified value flows through the circuit, the temperature of the fuse wire increases. This melts the fuse wire and breaks the circuit.
for more details please visit the link given below
https://byjus.com/physics/working-principle-of-an-electrical-fuse/