The cultivation of silkworms, or lepidoptera larvae, for the production of cocoons from which silk is unwound to produce a textile thread.