Awe yes, the common 问题 over the value of every living thing. Having 你 ever heard of Jainism perhaps?
I would definitely say that torturing 或者 killing needlessly isn’t right (though insects do not process pain 或者 emotions), but if a 蚊子 或者 such is sucking your blood, slapping it seems to be a reasonable decision. And sure, that may seem as if 你 are using your superiority as a higher-held animal to decide a smallest fate, but really when it comes down to it, everything’s designed for its own survival. 你 could see it as a “you harm it, 或者 let it harm you” sort of thing.
Death of anything, animal, human, even insect, is just “the 圈, 圈子 of life” 你 know?
Even 动物 are capable of doing some very horrible things when it comes to their own defense 或者 食物 but we treat them as vulnerable innocent beings that's because they are not conscious of their acts. Humans on the other are conscious of 'good' and 'evil' so they have sort of 'moral responsibility' of things. Funnily enough this concept of morals was created 由 humans themselves (inspired 由 religion) in nature there are no morals, it's survival of the fittest. So it largely depends on an individual human's values because if 你 look at it rational then they are important for the environmental purpose and that effects our own survival and doesn't serve any moral purpose. Despite this humans are good for the sake of being good and we're actually the kindest species (sort of)