Galantamine is primarily used to treat mild to moderate Alzheimer's disease and other types of dementia. It helps improve cognitive function and daily living activities by increasing levels of acetylcholine, a neurotransmitter associated with memory and learning.