The eggs develop into the silkworm larva, grub or caterpillar. They eat for 20-30 days, consuming large amounts of mulberry leaves. The caterpillar moults through four changes of skin. The silkworm then spins a cocoon for the development of pupa. Then it breaks the cocoon and grows into a butterfly..