Middle-aged rats treated with the compound, resveratrol, demonstrated improved learning, memory and mood compared with animals given a dummy drug. Although the researchers have yet to test this out on humans, the encouraging results open up the possibility that treating middle-aged people with this compound could help improve memory and mood in old age.