Sunflower seeds make an excellent replacement for pine nuts in pesto, especially for people who are allergic or sensitive to tree nuts. Roasted pumpkin seeds (pepitas) will also work as well if you prefer the flavor of those. For vegan pesto, I like roasted sunflower seeds to help replace the nutty flavor of parmesan.