Both are cholinergic drugs, which stimulates muscarinic (M1, M2, M3) receptors, which release acetylcholine from nerve endings. Pilocarpine is non-selective and stimulates all receptors, whereas cevimeline is specific to M1/M3 receptors.