Pesto or more fully pesto alla genovese is a paste made of crushed garlic, pine nuts, salt, basil leaves, grated cheese such as Parmesan or pecorino sardo, and olive oil.