Roasting greatly elevates the flavor of food like nuts, activating the Maillard reaction (not to be confused with caramelization) to darken their color and enhance both texture and taste.