Roasting nuts gives them a fuller flavour, and is a particularly good way to prepare nuts as a garnish.
Nuts can be roasted (or toasted) by placing them evenly on a sheet pan and roasting in a 350 degree F oven for five to ten minutes.
Small nuts, such as pine nuts or chopped hazelnuts, can be toasted in a dry frying pan over a fairly high heat. Keep the nuts moving, with a spatula, to keep them from burning. (You can also do this with sunflower seeds and pumpkin seeds.)