Molting is the process of secreting new cuticle. It ends into ecdysis i.e. separating new and old cuticle and shedding old cuticle. It has 3 phases preparatory, ecdysis and post ecdysis. This process ends by eclosion i.e. final emergence out of old cuticle.[Ref: insects]