Electrical blasting cap. Unstable compounds such as high explosives require initial shock or other disturbance to set off the chemical reaction. A blasting cap is usually used to set off Primacord, which in turn sets off shaped charges.