When something was created by humans to be a weapon yes, you compare them to guns. It’s like comparing a dog that was bred for eating grass to a lawnmower because their traits were bred into it to provide them with a certain function, in this case being a dangerous weapon.