When the current flowing through the fuse exceeds its rated value, the fuse element melts, breaking the circuit and preventing further flow of electricity. This helps prevent overheating and potential fires.