moths begins their lives as caterpillars, then spin a cocoon and grow wings and emerge as moths