Dementia is a disorder in which the person experiences the loss of cognitive functioning such as thinking, remembering, and reasoning.…