Botulinum toxin functions by inhibiting the release of acetylcholine at the neuromuscular junction. It binds to synaptic vesicles and blocks the exocytosis process, preventing the neurotransmitter from reaching the synaptic cleft. This inhibition leads to muscle paralysis, which can be temporary or long-lasting depending on the dosage and location of the injection.