Sarin acts by inhibiting the enzyme acetylcholinesterase (AChE). This enzyme is responsible for breaking down the neurotransmitter acetylcholine (ACh) in the synaptic cleft. When AChE is inhibited, ACh accumulates, leading to continuous stimulation of muscles, glands, and central nervous system receptors. This results in muscle twitching, respiratory failure, and potentially death if not treated promptly.