Dementia is a decline in cognitive function. To be considered dementia, mental impairment must affect at least two brain functions. Dementia may affect: