Despite their potential dangers, both plant and animal toxins have been harnessed for beneficial purposes. In medicine, certain toxins are used in controlled doses as therapeutic agents. For example, the botulinum toxin, produced by Clostridium botulinum, is used in small doses to treat muscle spasms and cosmetic concerns. Snake venom components are being researched for their potential to develop new painkillers and anticoagulants.