But, there are actually rare cases of cell phones that exploded or caught fire spontaneously has been reported. We could list a number of possibilities that could lead to this type of situation, however, in most cases, the major culprits are the batteries overheating.
How a battery works ?
First of all, we should know a little that how a battery works like lithium-ion batteries which is used by most phones. The name itself gives a clue: electricity flows from one electrode to another using lithium ion charge. Batteries store, transfer and release energy due to natural chemical reactions. It has two electrodes: an anode and a cathode. The cathode is the positive connection (+) of a battery and retains positively charged ions. Guess what makes the anode, of course, the opposite one negative (-) and retains negatively charged ions. But, manufacturers insert the separators which actually keep these two layers or conductors separated, as they are not supposed to touch each other. However, the chemical reaction which actually makes the batteries work also produces heat and if the user charging them too fast or overcharging the packs then beware, it could simply lead to catch heavy flames.
Too much heat in one place
Basically speaking about electronic components in general, as we can say that the vast majority do not harness energy efficiently, and much of it is transformed into heat. As you might notice on electronic devices, most of them heat up when it is long running. Typically, this temperature is gradually increased to a certain level, but after a while, excessive heat is dissipated or expelled from the device with the use of fans or coolants. Batteries are also electronic components, so its operation is not so different with regard to the use of electricity. In some situations, when the cobalt oxide is heated to a certain temperature, it enters an infinite heating cycle. At first, the battery releases a certain amount of heat (Result of the normal operation), but it is not consumed and the pieces have a high temperature. Then, the battery releases more heat and again the components are heated. This process, known as thermal runaway, continues until the battery explodes or come into flames. https://youtu.be/GEo0RhEhFYc
The problem is not only the battery
As illustrated, other electronic devices and small components also heat up enormously. In smartphones, for example, when a game is running, the GPU and the CPU are used sharply, which causes a significant increase in temperature. The heat emission and disability can leave the battery warmer, thus it can also result in an explosion.
Special care with batteries
The batteries are becoming more advanced, but that does not mean that you can exploit them without any care. Although it is possible to use 100% of their potential, such a measure is not always recommended. The lithium-ion suffer greatly when the voltage is too low or when there is a little available load. A good recommendation is to not let the charge level drops much below 50%. It is worth noting that current batteries do not have the effect of memory problem, but they are worn with ease. Anyway, not to be afraid of your smartphone or laptop, but it is good to take precautions to avoid accidents. If you notice that the temperature is too high, it is worth keeping eyes on the battery or on the other components so that it could not cause any serious problems for the electronics and even for you.