Being exposed to light during sleep has been shown to cause insulin resistance and increase heart rate.