Pineapple, a sweet and tangy fruit, is not only a flavorful ingredient in numerous foods but also a rich source…