Galantamine is a medication primarily used to treat mild to moderate Alzheimer's disease by inhibiting the enzyme acetylcholinesterase, which breaks down acetylcholine, a neurotransmitter important for memory and learning. Its role in managing neurocognitive disorders highlights its potential to enhance cognitive function and slow disease progression by increasing acetylcholine levels in the brain.