The question of whether invertebrates such as insects, crustaceans, and cephalopods are sentient has profound implications for how we treat billions of animals in food production and research.
The question of invertebrate sentience matters enormously because insects alone are farmed in quantities that dwarf all vertebrate farming combined. If insects can suffer, the welfare implications of factory insect farming would be staggering. The scientific consensus is that decapod crustaceans (lobsters, crabs, prawns) almost certainly have relevant sentience, while the evidence for insects is weaker but not negligible. The precautionary principle suggests we should err on the side of caution — improving conditions for farmed insects and adopting humane slaughter methods for crustaceans, pending better evidence.