The body clock is your body’s response to sunlight during the day and lack of it at night. Darkness at night causes the body to generate a natural hormone called melatonin. Melatonin regulates your internal clock, helping you rest and get ready for sleep. Daylight prevents the production of melatonin so you are more active and energetic.