It is a noun and refers to the state of being forgetful or having a diminished ability to remember things.