The pupa of an insect, especially a moth or butterfly, enclosed in a firm case or cocoon. Anything still in the process of development.