Leeches are segmented worms that are used in medicinal leech therapy. The European medicinal leech, Hirudo medicinalis, is commonly used. It secretes substances like hirudin that prevent clotting and have anti-inflammatory effects. Leech therapy involves applying leeches to remove congested blood and can help with reattachment of tissue flaps. It has historically been used to treat conditions like joint pain but is still studied for modern uses such as complications from meningitis. Chemical advances like the anticoagulant bivalirudin aim to replicate the effects of hirudin but with fewer side effects than leeches.