Complex sentence: Cnidarians are distinguished from all other animals by having cnidocytes that fire like harpoons and are used mainly to capture prey but also as anchors in some species.
Split into simpler sentences: Cnidarians are distinguished from all other animals by having cnidocytes that fire like harpoons. Those are used mainly to capture prey, but also as anchors in some species.