A May 2021 study by the Florey Adelaide Male Ageing Study said,

"Less deep sleep and more light sleep is related to slower responses on cognitive function tests,".

"While obstructive sleep apnoea itself is not directly related to cognitive function in all men studied, we did note that in men aged 65 and older, more light sleep was related to worse attention and processing speed."