Mercury fulminate is a primary explosive that is synthesized through the reaction of mercury metal with nitric acid, followed by the addition of ethanol. This produces fulminic acid, which reacts further to form mercury fulminate crystals. Though it is sensitive and toxic, mercury fulminate was widely used as a primary explosive in the past. The synthesis involves dissolving mercury in nitric acid, then adding ethanol to produce white mercury fulminate crystals, which can be purified by dissolving in ammonia and acidifying with acetic acid. Mercury fulminate must be handled carefully due to its sensitivity.