In people with SAD, a lack of sunlight and a problem with certain brain chemicals stops the hypothalamus working properly. The lack of light is thought to affect: the production of the hormone melatonin.