Pesto is a combination of basil, olive oil, parmesan cheese, garlic, and sometimes pine nuts or walnuts. Sun-dried tomato pesto includes sun-dried tomatoes and usually has less basil.