Dementia is a general term used to describe a group of conditions characterized by impairment of at least two brain…