The production of agricultural waste has been increasing with the development of the agricultural economy in recent years. These wastes can cause problems for the environment as well as humans [1]. According to the Food and Agriculture Organization (FAO), Iran is the largest producer of pistachios in the world, and in recent years, the total pistachio by-products in Iran have increased by nearly 310 thousand tons and have caused many environmental problems [2]. Pistachio peel is one of the by-products of pistachio processing. Pistachio peel is classified as agricultural waste, and the discharge of these substances into the environment causes the release of annoying odors and the growth and reproduction of flies. Moreover, most farmers bury pistachio peel in pistachio orchards. Since pistachio peel contains unstable organic matter, it damages the roots of the plant and stops its growth [3]. Many pistachio byproducts are best used as animal feed. However, pistachio waste has a high level of polyphenolic compounds and phenolic compounds that cause the adhesion of proteins, carbohydrates, and minerals in the digestive tract of living organisms, the high consumption of these compounds is highly toxic [4]. . .