Research has shown that when you’re exposed to light at night, even if it’s brief, your leptin level decreases, which makes you hungry in the middle of the night—a phenomenon that wouldn’t have been very convenient for our ancestral hunter–gatherers.