The COSMOS-Mind trial was funded by the National Institute on Aging to see if cocoa flavanols or multivitamins could help people stay mentally sharp as they age.