Published recently in the scientific journal Neuron, the new study found that the synthetic magnesium compound works on both young and aging animals to enhance memory or prevent its impairment.