CNN: People with migraines might get less of the sleep stage crucial for thinking and memory, according to new research.

Rapid eye movement, or REM, sleep is the sweet spot of our sleep cycles, characterized by more dreaming, bodily movement, and faster heart rate and breathing than in other sleep stages.In a meta-analysis of 32 studies, adults and children with migraines were less likely than healthy people without migraines to both subjectively and objectively get less quality sleep. The meta-analysis findings published Wednesday in the journal Neurology, the medical journal of the American Academy of Neurology.

The research stems from experts wondering whether migraines cause poor sleep quality, or if subpar sleep leads to migraines.

Get the full story at cnn.com.