The impact of aging on cognitive functions