The cocoon is constructed as a shell to protect the silkworm during its cycle of growth from caterpillar to chrysalis to moth.
(The cocoon; is constructed; as a shell)
The cocoon
is constructed
as a shell