Donepezil (often known by the brand name Aricept) is a medication primarily used to treat mild, moderate, or severe dementia associated with Alzheimer's disease by improving cognition and nerve function. It works as a cholinesterase inhibitor to enhance memory and focus but does not cure the disease.