Protein fiber composed mainly of fibroin and produced by certain insect larvae to form cocoons.