While they are both made with fresh herbs, olive oil and garlic, they have very different flavor. The addition of pine nuts and Parmesan cheese, as well as the use of basil, in pesto adds a nutty flavor that goes very well in pasta sauce. Chimichurri has more of a tang from the vinegar and lemon juice and can have a touch of heat as well.