The Bombardier Beetle is a species of beetle that is known for its unique defense mechanism. When threatened, the beetle will release a hot, noxious spray from its abdomen, which can be used to ward off predators. The spray is a combination of chemicals that create a loud popping sound
From Wikipedia
Bombardier beetles are adephagan ground beetles (Carabidae) in the Brachininae or Paussinae subfamilies—more than 500 species altogether—which are most notable for the defense mechanism that gives them their name: when disturbed, they eject a hot, noxious chemical spray from their pygidial glands with a popping sound.