Thermal runaway is a chain reaction in a lithium-ion battery in which the temperature rises rapidly. This releases flammable and harmful gases and creates a situation that can lead to a fire.