Dementia is the deterioration of memory, cognitive function, and problem-solving ability. It significantly affects the quality of life. The risk factors for dementia are age, family history, underlying medical conditions, such as Down syndrome, diabetes, and depression, inactive and unhealthy lifestyle, excessive smoking and alcohol consumption, sleep disturbances, and use of medications that affect memory.