Does it act as a visual deterrent for predators or serves a purpose in the body's physiological processes?

Also, is there any similarity between the Sphingidae caterpillars and the larvae of Trilocha varians (Bombycidae) which also has a horn-like structure in the larval stage ?

Similar questions and discussions