What is the nature of the beetle's chemical defense mechanism?

Answer

It emits a foul-smelling liquid from glands located on its abdomen.

One of its active dissuasion methods is chemical defense; it can release a noxious, foul-smelling liquid from a pair of white glands situated on its abdomen.

What is the nature of the beetle's chemical defense mechanism?
animalinsectbeetlesting