A significant loss of cognitive function such that it impairs daily function. There are several types of dementia.