According to a study of mice, waking up too frequently prevents the brain from forming new memories.
The study showed that mice that had a good night sleep were highly curious and investigating new objects and ignoring old ones. But those that had a fragmented sleep explored old objects as if they had never seen them before.
The study conducted by Stanford University could help explain conditions like /*Alzheimer's*/ and sleep apnea.