A fire occurs when a substance or material quickly consumes oxygen to produce heat and light, either in small or large volumes. In contrast, an explosion is a rapidly expanding release of high-pressure gases and high temperatures. An explosion may or may not occur as the result of a fire.