A new study examined the link between circadian rhythm disruptions and mental disorders, reports The Fix.

CNN reports that a recent study determined that consistent circadian rhythms—which are daily sleep and wake cycles—are linked to mood improvements and cognitive functioning improvements, as well as a reduced likelihood of major depression or bipolar disorder.

The research was published in The Lancet Psychiatry and studied disruptions in the circadian rhythms of more than 91,000 adults ages 37 to 73 in the United Kingdom. Those disruptions were measured on accelerometers, which are devices worn on the wrist to track daily activity.