The synthesis and secretion of melatonin are regulated by light and darkness. Continuous light can inhibit the secretion of pineal gland, while darkness can stimulate the secretion of pineal gland. Therefore, its secretion changes periodically day and night. At noon 12, the secretion is the lowest; At midnight, the secretion is the highest. This periodicity is obviously related to human menstrual cycle. In addition, the pineal gland may send a "time signal" to the central nervous system through the secretion cycle of melatonin, thus affecting the body's time biological effects, such as sleep and awakening. However, whether the pineal gland is the "biological clock" that affects or regulates the circadian rhythm of animals remains to be further proved. It is also reported that melatonin can strengthen the central inhibition process, thus promoting sleep. Therefore, it has been used to treat epilepsy epilepsy epilepsy.