Like bacteria firing spearguns

Many bacteria have sophisticated molecular injection devices that are used to do some amazing things. For example, a bacterium inoculates certain molecules into a worm larva via such a nanomachine composed of proteins, which triggers the transformation of the larva into an adult worm. Other bacteria use such molecular weapons to kill foreign strains of bacteria or insect larvae, or they defend themselves against scavenger cells.