The caterpillar enters the chrysalis state to be transformed.
When the time comes to continue its life as a butterfly, it has to struggle to break free and that struggle strengthens its wings, to be ready to fly.