This article discusses the results of a study conducted by neurologists on patients with obstructive sleep apnea. Their findings may partially explain how obstructive sleep apnea contributes to the cognitive decline associated with aging and Alzheimer's disease through the degeneration of brain regions that support memory consolidation during sleep.
Link: https://www.brainandlife.org/articles/obstructive-sleep-apnea-damage-brain-memory