A fuse wire is used in an electric circuit to prevent excess current from flowing in the circuit. By melting and breaking the circuit when the current exceeds a safe level, the fuse protects the electrical components and wiring from damage, overheating, and potential fires.