The larvae and adults are considered neither pests nor vectors. Instead, black soldier fly larvae play a similar role to that of redworms as essential decomposers in breaking down organic substrates and returning nutrients to the soil. The larvae have voracious appetites and can be used for composting household food scraps and agricultural waste products.
Additionally, black soldier fly larvae (BSFL) are an alternative source of protein for aquaculture, animal feed, pet food and human nutrition.
Black soldier fly larvae (BSFL) are used to compost waste or convert the waste into animal feed. Fly larvae are among the most efficient animals at converting biomass into feed.Excerpts from the Hermetia illucens (Black Soldier Fly) Wikipedia article