Botox works by blocking the release of acetylcholine, a neurotransmitter responsible for muscle contraction. When injected into targeted muscles, it causes temporary paralysis or relaxation of these muscles. This mechanism can relieve pain and reduce muscle spasms, offering a reprieve from various gynecological symptoms.