Electrical malfunctions occur when there are unintended short circuits, overloading of electricity, or power surges. These incidents can cause fires…