Our findings indicated that resveratrol alleviated pain and improved cognitive deficits, probably by regulating neural ultrastructure remodelling and the CREB/BDNF pathway. The gene discussed is CREB1; the disease is Cognitive impairment.