The spinneret found in the caterpillar of butterfly is used for