The primary defense mechanism of millipedes is to roll up into a spiral-shaped circle, protecting their more delicate organs from being hurt by an armor-like skin. Millipedes can secrete liquids that can burn their predators for protection.