The invention provides compositions comprising one or more long chain polyunsaturatedfatty acids, nitric oxide releasing compounds, and medium chain triglyceridesand methods for using such compositions for enhancing cognitive function, reducingor preventing a decline of social interaction, reducing or preventing age- relatedbehavioral changes, increasing trainabihty, maintaining optimal brain function,facilitating learning and memory, reducing memory loss, retarding brain aging,preventing or treating strokes, and preventing or treating dementia in an animalPreferably, the compositions are food compositions useful for enhancing cognitivefunction in humans and companion animals