When we use electricity, there are dangers to using it as they can cause fires, causing a power surge in power, and sudden changes in current, which are all dangers when handling electrical appliances.
Ways to mitigate these dangers are with circuit breakers, fuses, double insulation, and grounded or earth wires.
Circuit breakers and fuses work in similar ways, but they have differences as they both cut power to the rest of the circuit when too much current flows through it,
How a fuse works is that a live wire is connected by a thin metal wire that, when too much current flows through the live wire and, the fuse melt,s cutting power from the circuit and potentially saving the appliance from breaking or getting overloaded, and these fuses come in different ratings for different applications.
If we take an appliance that needs a 3A or 3 amp current, to add a fuse to it we can add a fuse that is 5A or 5 amps so that it will shut off the current to it if the appliance gets affected by a power surge.
Or if an appliance runs at 10A then using a 13 or 12 amp fuse is nnessessary.
The reason why we use fuses is that its cheep and simple to use, thats why when we have appliances such as toasters and microwaves often have built in fuses in their plugs, one downside is that fuses are a one time use, meaning that once the fuse stops a power surge, it is permenently distroyed has has to be replaced.
The other way to stop a current from flowing during a surge is via a Circuit breaker. Instead of being perminently damaged when a power surge happens, it instead "trips" which disconects it from the circuit so that no fuse is spent and can be used, thats why in breaker boxes when the power in your house trips, you can just flip a switch and have your electricity restored to your house.
One of the dangers of a power surge is that the live wire (brown) touches the appliance directly or the appliance's casing, which causes the appliance to be charge with electricity, one way to stop the acsedental shocks from the live wire touching the appliance is via a "earth wire' which is a wire that provides another path for the current that was previously flowing though the appliance to instead be 'grounded' and even if the live wire would be touching the appliance directly, the ground wire should protect you from getting shocked.
Another way is to double insulate an appliance which basically means to add a non conductve outer layer which is most commonly plastic, if a device like a smart phone, tablet or appliance has double insulation most of the time it doesn't need an earth wire, two layers to protect the user from being shocked