Insomnia patients usually exhibit circadian rhythm disorders, and resveratrol can regulate the expression of biological clock genes BMAL1 and PER2 by activating SIRT1, thus adjusting the sleep–wake cycle and improving sleep quality. The gene discussed is PER2; the disease is insomnia.