The pudding mix brings the pistachio flavor to these cookies as well as a portion of the sugar needed to make this recipe a success. Instant pudding mix also makes cookies very soft and chewy in texture.