Rosemary has been used for hundreds of years in folk medicine and aromatherapy to enhance memory and cognitive function. In cooking, its assertive flavor goes especially well with meat and root vegetables.