Pilocarpine is a parasympathomimetic alkaloid obtained from the leaves of tropical American shrubs from the genus Pilocarpus. It is a non-selective muscarinic receptor agonist in the parasympathetic nervous system, which acts therapeutically at the muscarinic acetylcholine receptor M3 due to its topical application, e.g., in glaucoma and xerostomia.