The major use of explosives has been in warfare. High explosives have been used in bombs, explosive shells, torpedoes, and missile warheads. Nondetonating explosives, e.g., gunpowder and the smokeless powders, have found extensive use as propellants for bullets and artillery shells.
The most important peaceful use of detonating explosives is to break rocks in mining. A hole is drilled in the rock and filled with any of a variety of high explosives; the high explosive is then detonated, either electrically or with a special high-explosive cord. Special explosives, called permissible explosives, must be used in coal mines. These explosives produce little or no flame and explode at low temperatures to prevent secondary explosions of mine gases (see damp) and dust. One important explosive used in mining, called ANFO, is a mixture of ammonium nitrate and fuel oil. Its use has revolutionized certain aspects of open-pit and underground mining because of its low cost and relative safety.