Sometimes pesto sauce is very thick, adding pasta water helps in thinning out further. It helps in coating the pasta uniformly and adds flavors to it. It works as an emulsifier, starch from the water & oil works together to thicken the overall mixture. This is the only secret to making the best pasta that sticks with the pesto sauce.